how to make the an object move

hi ,
iam studing computer science , and i have to present program on open gl,and i have no idea about it.the idea of the program is draw for function(any function e.g x^2+1)and there is ball or circle move on the draw .i hope that someone help me because we didn’t study open gl but we study introduction to graphics.

check out the tutorial of Beizer Curves in GameTutorials.