Using Maple 11 for calculus problems

  • Context: Maple 
  • Thread starter Thread starter MAins
  • Start date Start date
  • Tags Tags
    Calculus Maple
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
MAins
Messages
17
Reaction score
0
For a function f(x,y) what commands do I use to plot the coresponding surface from, say, -2 </= x, y </= 2? How would I then plot contours?
 
Physics news on Phys.org
For the example I have chosen [tex]f(x,y)=\frac{x}{\sqrt{1+x^2+y^2}}[/tex].

Code:
restart;
with(plots);
f:=(x,y)->x/(1+x^2+y^2)^(1/2);
plot3d(f(x,y),x=-2..2,y=-2..2);
contourplot(f(x,y),x=-2..2,y=-2..2,contours=25);