I try to plot a function, but Mathematica doesn't draw my function. Can someone help me?
I provide a screenshot here: http://img407.imageshack.us/my.php?image=mathematicajw3.jpg
Thanks in advance, TKM
> I try to plot a function, but Mathematica doesn't draw my function. Can someone help me?
>
> I provide a screenshot here: http://img407.imageshack.us/my.php?image=mathematicajw3.jpg
Surely you meant x^2 rather than x2 (which is undefined variable), i.e.
Plot[Sin[x^2], {x, 0, 2 Pi}]
Or perhaps,
Plot[Sin[x2], {x2, 0, 2 Pi}]
Regards,
-- Jean-Marc
How would you plot sin(x2) for x in the range 0..2*Pi without knowing the
value of x2? ^^ ^
Plot[x^2,{x,0,2Pi}]
Plot[2x, {x,0,2Pi}]
Bob Hanlon
---- TKM <temp...@hotmail.com> wrote:
=============
Hello,
I try to plot a function, but Mathematica doesn't draw my function. Can someone help me?
I provide a screenshot here: http://img407.imageshack.us/my.php?image=mathematicajw3.jpg
Thanks in advance, TKM
--
Bob Hanlon
what is x2
do you mean
Plot[Sin[x^2],{x,0,Pi}]
??
Regards
Jens
PS: Please copy/paste the InputForm of your Mathematica Input
to the math-group and not a screen shot.
I hope you realize that x2 is a variable different from x? It isn't x
squared, as that should be written as x^2.
Just select the code, right click, Copy As Input Text, and paste into the
posting.
--
David Park
djm...@comcast.net
http://home.comcast.net/~djmpark/
"TKM" <temp...@hotmail.com> wrote in message
news:gcn47r$738$1...@smc.vnet.net...
What is your function? You typed x2, which Mathematica does not
interpret as a function, but as a symbol named "x2". If you meant x
squared, then type x^2. If you meant twice x, then type 2 x (notice
the space), x 2 (again, the space), or be very explicit with 2*x.
Normally for a question like this the general forum answer would be to
RTFM, but the current M is not as easy to R as it used to be. So, go
to your well-stocked public library, find any edition of The
Mathematica Book and read "Part 1. A Practical Introduction to
Mathematica" all the way through. No kidding. You will always be
frustrated by Mathematica if you don't and hugely productive with it
if you do.
At minimum, go to Help > Virtual Book and read the Getting Started
section in the Introduction.
David Bailey
http://www.dbaileyconsultancy.co.uk
You are great!