Re: Simple Plot3D/Function Syntax issue
- To: mathgroup at smc.vnet.net
- Subject: [mg68606] Re: Simple Plot3D/Function Syntax issue
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Fri, 11 Aug 2006 04:40:40 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <ebeb66$ldv$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
JTolman wrote: > When I enter > f = e^-(x^2 + y^2) (x^2 + 2y^2) > It gives me a syntax::noinfo error but the output looks like the > correct textbook style function. > > Also, when I try to plot it > Plot3D[e^-(x^2 + y^2) (x^2 + 2y^2), {x, -3, 3}, {y, -3, 3}] > It of course gives me not machines-size real number errors, which I am > assuming have more to do with my original syntax error. I've tried > several variations but can't figure out what needs to be corrected. > The Mathematica Book --> Mathematica Reference Guide --> Some General Notations and Conventions --> A.3.1 Function Names: "The names of built-in functions follow some general guidelines. â?¢ The name consists of complete English words, or standard mathematical abbreviations. American spelling is used. â?¢ The first letter of each word is capitalized. â?¢ Functions whose names end with Q usually "ask a question", and return either True or False. â?¢ Mathematical functions that are named after people usually have names in Mathematica of the form PersonSymbol." http://documents.wolfram.com/mathematica/book/section-A.3.1 HTH, Jean-Marc