Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Simple Plot3D/Function Syntax issue

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68589] RE: [mg68566] Simple Plot3D/Function Syntax issue
  • From: "David Annetts" <davidannetts at aapt.net.au>
  • Date: Fri, 11 Aug 2006 04:39:53 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

> 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.

When all else fails, RTFM ....  The master index (E) would've been a good
place to start.

You need "E" not "e".  Or you could use Exp[-(...)].

Regards,

Dave.


  • Prev by Date: Re: a Quaternion quadratic level Pisot polynomial
  • Next by Date: Re: SImple Plot3D issue
  • Previous by thread: Simple Plot3D/Function Syntax issue
  • Next by thread: Re: Simple Plot3D/Function Syntax issue