Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing Cosine/Sine Curve Question
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
varman




PostPosted: Sun Feb 26, 2012 8:46 pm   Post subject: Turing Cosine/Sine Curve Question

What is it you are trying to achieve?
Here is the question: Write a program to plot either a cosine or a sine curve for
values of the angle going from 0 to 720 degrees. Draw the xand
y-axes, and label the graph appropriately. Choose a scale
for plotting that has the graph more or less fill the window.
Remember that the values of cosine and sine vary between ?
1 and +1.


What is the problem you are having?
I'm trying to master turing, but this question is too hard for me to even attempt.

Describe what you have tried to solve this problem
I don't even know where to start.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>

Turing:


<Add your code here>



Please specify what version of Turing you are using
4
Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Mon Feb 27, 2012 12:06 am   Post subject: Re: Turing Cosine/Sine Curve Question

sind, cosd and Drawmodule are a good start.

Perhaps creating the graph on paper can also help give you an idea of what you need to do.
smool




PostPosted: Mon Feb 27, 2012 9:02 pm   Post subject: RE:Turing Cosine/Sine Curve Question

You also might want to look at functions if you dont know them already, as well as for loops, and the View.Set commands
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: