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

Have something to add?

Similar Discussions: Maple question
  1. Maple question (Replies: 4)

  2. Maple 10 question (Replies: 2)

  3. Older maple question (Replies: 1)

  4. Maple question (Replies: 2)