Mombu the Science Forum sponsored links

Go Back   Mombu the Science Forum > Science > mupad plot of plane
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 17th December 03:07
john oflaherty
External User
 
Posts: 1
Default mupad plot of plane


I'm trying to use muPad to plot planes to help me visualize my
calculus homework.
The plotfunc3d seems to expect an argument that expresses z in terms
of x and y.
So, for this equation of a plane, 2x - 2y + z = 12, I can rearrange it
with z as a function of x and y and plot it thus:
plotfunc3d(12-2*x+2*y)

But, x - y = 0 is a plane, parallel to z and at 45 deg. to x and y
axes. How could I get mupad to plot that?

--
john
  Reply With Quote


  sponsored links


2 17th December 03:07
christopher creutzig
External User
 
Posts: 1
Default mupad plot of plane


John O'Flaherty <quiasmox@yahoo.com> writes:

Right, this is one way of doing it.


As a parameterized surface. Turn your plane into parametric form
(something like P(u, v) = [u, -u, v]) and plot that.

[2.5.3] >> plot(plot::Surface3d([u, -u, v], u=-3..3, v=-3..3))

[3.0] >> plot(plot::Surface([u, -u, v], u=-3..3, v=-3..3))

This method always works. Finding the parametric form is part of the
standard curriculum. (At least it was over here when I was in
school.) The "[u, -u, v]" above is just a short way of writing

+- -+ +- -+ +- -+
| 0 | | 1 | | 0 |
| | | | | |
| 0 | + u | -1 | + v | 0 |
| | | | | |
| 0 | | 0 | | 1 |
+- -+ +- -+ +- -+

--
+--+
+--+|
|+-|+ Christopher Creutzig (ccr@mupad.de)
+--+ Tel.: 05251-60-5525
  Reply With Quote
3 17th December 14:10
john oflaherty
External User
 
Posts: 1
Default mupad plot of plane


Thanks, Christopher.
--
john
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666