Ask Your Question

Graph x sin 0 to 720

asked 2016-05-30 13:07:04 +0200

Zantheor gravatar image

updated 2016-05-30 20:36:12 +0200

tmonteil gravatar image

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.

edit retag flag offensive close merge delete


For help, try plot?. This will show the syntax and some examples.

calc314 gravatar imagecalc314 ( 2016-05-30 15:36:30 +0200 )edit

Also note that this isn't a homework help forum, though we are in general happy to help people learn more.

kcrisman gravatar imagekcrisman ( 2016-05-31 17:52:11 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-31 00:01:15 +0200

You're almost there already, just add some commas:

plot( sin(x*pi/180), x, 0, 720 )

Example output here.

edit flag offensive delete link more


Cheers mate worked perfectly

Zantheor gravatar imageZantheor ( 2016-06-01 08:43:42 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-05-30 13:07:04 +0200

Seen: 315 times

Last updated: May 31 '16