MathGroup Archive 2006

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

Search the Archive

RE: Simple Plot3D/Function Syntax issue


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