i have a project on graph trigonometry functions.

like sin(x) and cos(x). please help me, i am about failing computer math. please, thanx!

You want to know how to graph a Sine Wave? For starters you should what the trig ratios represent in the context of sides of a right-triangle.

This appears to be a very good tutorial.

As far as graphing it, the 'QB circle' is measured in radians, so if you plug a value into Sin() or Cos() between 0 and 6.28, you'll get values between -1 and 1 that form a smooth curve... anything over or below that range will loop the pattern. You simply need to do some multiplying to expand it.

CLS

SCREEN 12

FOR Xpos = 0 TO 639

PSET (Xpos, Sin(Xpos / 20) * 200 + 240), 15

NEXT

'untested