ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 01 Jun 2016 01:43:42 -0500Graph x sin 0 to 720http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/We will now draw a graph of sin x from 0 to 720.
Enter the command to do this in Sage.
What command was used?
I'm assuming its something like
plot sin(x*pi/180) for 0<x<720
Usually i'd keep searching until i figure it out myself but i'm really behind on study and don't have the time.
If i could just get the code that would be great!
Many thanks.Mon, 30 May 2016 06:07:04 -0500http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/Comment by kcrisman for <p>We will now draw a graph of sin x from 0 to 720.
Enter the command to do this in Sage.
What command was used?</p>
<p>I'm assuming its something like </p>
<pre><code>plot sin(x*pi/180) for 0<x<720
</code></pre>
<p>Usually i'd keep searching until i figure it out myself but i'm really behind on study and don't have the time.
If i could just get the code that would be great! </p>
<p>Many thanks.</p>
http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?comment=33597#post-id-33597Also note that this isn't a homework help forum, though we are in general happy to help people learn more.Tue, 31 May 2016 10:52:11 -0500http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?comment=33597#post-id-33597Comment by calc314 for <p>We will now draw a graph of sin x from 0 to 720.
Enter the command to do this in Sage.
What command was used?</p>
<p>I'm assuming its something like </p>
<pre><code>plot sin(x*pi/180) for 0<x<720
</code></pre>
<p>Usually i'd keep searching until i figure it out myself but i'm really behind on study and don't have the time.
If i could just get the code that would be great! </p>
<p>Many thanks.</p>
http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?comment=33586#post-id-33586For help, try `plot?`. This will show the syntax and some examples.Mon, 30 May 2016 08:36:30 -0500http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?comment=33586#post-id-33586Answer by paulmasson for <p>We will now draw a graph of sin x from 0 to 720.
Enter the command to do this in Sage.
What command was used?</p>
<p>I'm assuming its something like </p>
<pre><code>plot sin(x*pi/180) for 0<x<720
</code></pre>
<p>Usually i'd keep searching until i figure it out myself but i'm really behind on study and don't have the time.
If i could just get the code that would be great! </p>
<p>Many thanks.</p>
http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?answer=33591#post-id-33591You're almost there already, just add some commas:
plot( sin(x*pi/180), x, 0, 720 )
Example output [here](http://sagecell.sagemath.org/?z=eJwryMkv0VAozszTqNAqyNQ3tDDQ1FGo0FEw0FEwNzJQ0OTlAgCxKwhr&lang=sage).Mon, 30 May 2016 17:01:15 -0500http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?answer=33591#post-id-33591Comment by Zantheor for <p>You're almost there already, just add some commas:</p>
<pre><code>plot( sin(x*pi/180), x, 0, 720 )
</code></pre>
<p>Example output <a href="http://sagecell.sagemath.org/?z=eJwryMkv0VAozszTqNAqyNQ3tDDQ1FGo0FEw0FEwNzJQ0OTlAgCxKwhr&lang=sage">here</a>.</p>
http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?comment=33610#post-id-33610Cheers mate worked perfectlyWed, 01 Jun 2016 01:43:42 -0500http://ask.sagemath.org/question/33583/graph-x-sin-0-to-720/?comment=33610#post-id-33610