RE: machine-size problem again?
- To: mathgroup at smc.vnet.net
- Subject: [mg37512] RE: [mg37474] machine-size problem again?
- From: "David Park" <djmp at earthlink.net>
- Date: Sat, 2 Nov 2002 03:30:45 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Wen-Feng,
Try
Plot[E^x, {x, 1, 4}]
A small e has no special meaning or value in Mathematica, so e^x does not
evaluated to a number. Capital E stands for the exponential constant. You
can also use esc e e esc, or enter it from the BasicInput Palette.
David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/
From: Wen-Feng Hsiao [mailto:wfhsiao at libra.seed.net.tw]
To: mathgroup at smc.vnet.net
Dear experts,
I have a trouble in plotting e^x.
Plot[e^x, {x, 1, 4}]
It keeps telling me:
e^x is not a machine-size real number at x = 1.000000125
e^x is not a machine-size real number at x = 1.1217009747187472
e^x is not a machine-size real number at x = 1.2544263995781209;
Even I have added the modifier "Evaluate".
Plot[Evaluate[e^x], {x, 1, 4}]
The output is the same.
Please help! Thanks.