add points to mesh

Hello, I´m new in this forum and im new in maxscript and i have a general question for creating geometry. I hope, it´s not to stupid. 

1. Is there a way to create points and add them to a spline? I want to create a line from a math formula.

2. Is there a way to create points and add them to a mesh, so i can generate new polygons from these points?

Thanks a lot!