Re: SImple Plot3D issue
- To: mathgroup at smc.vnet.net
- Subject: [mg68605] Re: SImple Plot3D issue
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Fri, 11 Aug 2006 04:40:38 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <ebeb2c$ldm$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
jtolman at gmail.com wrote: > I am trying to plot the 3D function e^-(x^2 + y^2) (x^2 + 2y^2) > > Plot3D[e^-(x^2 + y^2) (x^2 + 2 y^2), {x, -3, 3}, {y, -3, 3}] > > I get not machine-size real number errors. When I try > > f = e^-(x^2 + y^2) (x^2 + 2 y^2) > > I get a Syntax::noinfo: insufficient information error, although the > output looks like a valid textbook style equation. > > I've tried several variations on input but can't figure out where the > syntax mistake is. > All built-in Mathematica functions are capitalized. Thus, the base of the natural logarithm is written in plain text "E", not "e" [1]. Plot3D[(x^2 + 2*y^2)/E^(x^2 + y^2), {x, -3, 3}, {y, -3, 3}]; Regards, Jean-Marc [1] http://documents.wolfram.com/mathematica/functions/E