Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Maple question

  1. May 3, 2008 #1
    > f:=(x,y)->(x+3*y -1)*e^(-(x^2)-(y^2));
    > plot3d(f(x,y),x=-3..3,y=-3..3);

    I'm supposed to plot for -3 less than or equal to x,y less than or equal to 3... Does that mean x=y at a given point? Anyway, I rewrote it as above and Maple does not show an error but rather shows just a blank space where the graph is supposed to be. Any suggestions?
  2. jcsd
  3. May 3, 2008 #2
    Your input isn't formatted properly from what I can see. I assume by the e^ you want to use the exponential function right? Maple will evaluate 'e' as an undefined constant. If you want to use the exponential function, you must use exp(),

    i.e. exp(-x^2-y^2)

    see if that helps
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Maple question Date
Maple question: defining functions as inverse Fourier transforms Jun 21, 2016
Maple question May 2, 2008
Older maple question Apr 16, 2008
Maple 10 question May 19, 2007
Quick Question on Maple Usage May 19, 2006