3D Graph of f(x,y) for -3≤x,y≤3

  • Context: Maple 
  • Thread starter Thread starter MAins
  • Start date Start date
  • Tags Tags
    3d Graph
Click For Summary
SUMMARY

The discussion focuses on plotting a 3D graph of the function f(x,y) = (x + 3y - 1)e^(-(x^2 + y^2)) within the range of -3 to 3 for both x and y using Maple. Users encountered issues with a blank output, attributed to improper formatting of the exponential function. The correct syntax requires using exp() instead of e^ to represent the exponential function in Maple, specifically exp(-x^2 - y^2).

PREREQUISITES
  • Familiarity with Maple software for mathematical computations
  • Understanding of 3D plotting concepts
  • Knowledge of function notation and syntax in programming
  • Basic understanding of exponential functions
NEXT STEPS
  • Learn how to use Maple's 3D plotting functions effectively
  • Research the correct syntax for mathematical functions in Maple
  • Explore advanced features of Maple for visualizing complex functions
  • Study the properties of exponential decay in mathematical modeling
USEFUL FOR

Mathematicians, educators, students in calculus or advanced mathematics, and anyone interested in visualizing mathematical functions using Maple software.

MAins
Messages
17
Reaction score
0
> 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?
 
Physics news on Phys.org
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
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K