Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to graph a simple function.. ??' topicStudent Support Forum > General > Archives > "How to graph a simple function.. ??"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Alvin
10/04/02 07:57am

If you want to plot 2x^2+3x+1 for the range 0 - 10,
simply use:

Plot[2 x^2+3*x+1,{x,0,10}]

If you want to plot sin x for the range 0 to 6 pi,
use:

Plot[Sin[x],{x,0,6 Pi}]

Please note that the functions starts with a capital letter, eg. Plot, Sin, Cos... Also, make sure that your brackets for your functions are square brackets, except for the ones defining the ranges.

Use ??Plot for more information.

URL: ,

Subject (listing for 'How to graph a simple function.. ??')
Author Date Posted
How to graph a simple function.. ?? Adrians 10/03/02 1:39pm
Re: How to graph a simple function.. ?? Alvin 10/04/02 07:57am
< Previous CommentHelp | Reply To Comment | Reply To Topic