Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.2K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to use the plot function?

Posted 10 years ago

I am new to Mathematica and I am running the version 10 that came along with Raspberry Pi. I tried to use

plot[sin[x],{x,0,10}] 

but instead of plotting it, I am getting output as

out[1] := plot[sin[x],{x,0,10}]

Any suggestions?

POSTED BY: Ananda Suresh
2 Replies
Posted 10 years ago

Every built-in Mathematica function starts with capital letter [plot should be Plot and sin should be Sin]. The correct command is

Plot[Sin[x], {x, 0, 10}]

You can use this resource to get acquainted with the system- https://www.wolfram.com/language/elementary-introduction/ [since Raspberry Pi Mathematica version doesn't come with Help file because of size constraints].

POSTED BY: Girish Arabale

This question has been cross-posted to Mathematica.SE. It is okay to cross-post, but please always link the two posts together so people won't spend time answering an already answered question! http://mathematica.stackexchange.com/q/109291/12

POSTED BY: Szabolcs Horvát
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard