November 27, 2021, 05:30:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
   Home   Help Search Login Register  
Pages: [1]
Author Topic: i am doing a trigomometry graphing project need u guys help!  (Read 2043 times)
New Member

Posts: 8

« on: March 20, 2003, 03:59:20 PM »

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?
Posts: 2567

« Reply #1 on: March 20, 2003, 07:53:56 PM »

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

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
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!