Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i am doing a trigomometry graphing project need u guys help!
#1
how to graph sin(x) and cos(x) on the Qbasic, with all the scales on? like X axis and Y axis, also able to change the size of graph by changing the phase shift, and amplitude, Y=a*sin(x-2) how to graph it?
Reply
#2
it depends are you just inputting a,b,c and d or are you actually making something that interprets a formula put in.

i'm assuming the former since this sounds like a school thing, but you have the formula right there

Code:
for x = 0 to whatever
  y = a * (bx + c) + d
  line -(x, y)
next x
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)