Computer Science Canada

Turing Cosine/Sine Curve Question

Author:  varman [ 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

Author:  Dreadnought [ 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.

Author:  smool [ 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


: