 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] graphing parametric equations in 3d
| [MUG] graphing parametric equations in 3d |
|
Author: Han Wesseling
Posted: Thu, 21 Nov 2002 22:14:26 +0100
|
>> From: Han Wesseling "H.Wesseling"
hello.
i'm having a problem graphing the following parametric equations in 3
d:
p1:=((1+cos(16*t))*cos(t));
p2:=((1+cos(16*t))*sin(t));
p3:=1+cos(16t*t);
i'm probably using the wrong command(usage)
plot3d([p1,p2,p3], t=-Pi..Pi);
because the only things maple is returning are error msgs.
hope someone can help me out?
|
| [MUG] Re: graphing parametric equations in 3d |
|
Author: Maple User Group
Posted: Wed, 27 Nov 2002 09:41:37 -0500
|
>> From: Maple User Group "maple_gr"
| >> From: Han Wesseling "H.Wesseling"
| i'm having a problem graphing the following parametric equations in 3
| d:
| p1:=((1+cos(16*t))*cos(t));
| p2:=((1+cos(16*t))*sin(t));
| p3:=1+cos(16t*t);
|
| i'm probably using the wrong command(usage)
|
| plot3d([p1,p2,p3], t=-Pi..Pi);
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 22 Nov 2002 16:30:43 -0700 (MST)
From: Matthias Kawski "kawski"
To: "maple-list"
Subject: graphing parametric equations in 3d
Han:
plot3d is for plotting 2-dimensional surfaces, using 2 parameters.
You have only a single parameter, and the image is a 1-dimensional
curve. To plot this use
with(plots):
spacecurve([p1,p2,p3],t=-Pi..Pi);
Matthias
**********************************************************
Matthias Kawski http://math.asu.edu/~kawski
Dept. of Mathematics and Statistics "kawski"
Arizona State University office: (480) 965 3376
Tempe, Arizona 85287-1804 home: (480) 893 0107
**********************************************************
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 22 Nov 2002 16:03:17 -0800 (PST)
From: Robert Israel "israel"
To: "maple-list"
Subject: graphing parametric equations in 3d
plot3d is for surfaces. You have a curve. Try spacecurve in
the plots package.
Robert Israel "israel"
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Fri, 22 Nov 2002 17:41:16 -0800 (PST)
From: John Kurtzke "kurtzke"
To: "maple-list"
Subject: graphing parametric equations in 3d
Han,
Two issues:
1. You have one too many left parentheses at the start of p1 & p2, but
that might just be a transcription error.
2. spacecurve[p1, p2, p3], t=-Pi..Pi); should work. However, if you
really want to use plot3d, you can -- Maple just wants limits on two
parameters. "But I'm only using one" you say. Well, introduce a dummy
prameter. So you can do:
plot3d([p1, p2, p3], t=-Pi..Pi, s=0..1); will work
john kurtzke
--
John F. Kurtzke, C.S.C.
Department of Mathematics
278 Buckley Center
University of Portland
Portland, OR 97203
503-943-7377
"kurtzke"
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Sat, 23 Nov 2002 10:17:25 +0100
To: "maple-list"
From: Jean Garrigues "Jean.Garrigues"
Subject: graphing parametric equations in 3d
use plots[spacecurve] to plot space curves :
plots[spacecurve]([p1,p2,p3], t=-Pi..Pi);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Jean GARRIGUES, ESM2, IMT, Technopole de Chateau-Gombert
13451 Marseille Cedex 13 FRANCE
Tel: +33 (0)4 91 05 46 72 Fax: +33 (0)4 91 05 45 98
"mailto:Jean.Garrigues"
http://esm2.imt-mrs.fr/gar/index.html
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Sat, 23 Nov 2002 18:12:55 -0500 (EST)
From: Carl Devore "devore"
To: "maple-list"
Subject: graphing parametric equations in 3d
plots[spacecurve]([p1,p2,p3], t= -Pi..Pi);
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
From: "Thomas Richard" "t.richard"
To: "maple-list"
Subject: AW: graphing parametric equations in 3d
Date: Mon, 25 Nov 2002 10:09:06 +0100
I guess the command you're looking for is spacecurve:
plots[spacecurve]([p1,p2,p3], t=-Pi..Pi);
--
Mit freundlichen Gruessen / best regards
Thomas Richard Tel.: +49-241-40008-52, Fax: -13
Maple Support "mailto:maple.support"
Scientific Computers GmbH <http://www.scientific.de>
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
From: "Symancyk, Daniel" "dfsymancyk"
To: "''"
Subject: graphing parametric equations in 3d
Date: Mon, 25 Nov 2002 10:37:59 -0500
You can use the spacecurve command that is part of the plots package.
> plots[spacecurve]([p1,p2,p3,t=-Pi..Pi]);
Dan Symancyk
Department of Mathematics
Anne Arundel Community College
Arnold, MD 21012
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
From: "Dr Francis J. Wright" "F.J.Wright"
To: "H.Wesseling"
Subject: graphing parametric equations in 3d
Date: Mon, 25 Nov 2002 16:28:44 -0000
plot3d is only for plotting SURFACES. To plot a curve in 3D, as you are
trying to do, you need to use plots[spacecurve] instead of plot3d. You
might need to increase the number of plotting points to get a smooth plot.
Also, there is an error of some kind in the value assigned to p3; either too
many t's or a missing *.
Francis
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Mon, 25 Nov 2002 07:39:08 -0900
To: "maple-list"
From: "Mark Fitch" "afmaf"
Subject: graphing parametric equations in 3d
3D parametric plots require two variables even if you are drawing a curve
instead of a surface. Add in any dummy variable and range.
p1:=((1+cos(16*t))*cos(t));
p2:=((1+cos(16*t))*sin(t));
p3:=1+cos(16*t*t);
plot3d([p1,p2,p3],t=-Pi..Pi,u=0..1);
Mark A. Fitch
"mfitch"
http://www.math.uaa.alaska.edu/~afmaf
University of Alaska Anchorage
3211 Providence Drive, Anchorage, AK 99508
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
Date: Mon, 25 Nov 2002 12:12:57 -0500
From: "Douglas B. Meade" "meade"
To: "maple-list" "H.Wesseling"
Subject: graphing parametric equations in 3d
Han and MUG,
Here is (another) answer to your question:
The object you are attempting to plot is a curve (not a surface). The
correct command to use is spacecurve in the plots package. So, here is
p1:=((1+cos(16*t))*cos(t));
p2:=((1+cos(16*t))*sin(t));
p3:=1+cos(16*t); # <--- typo corrected
plots[spacecurve]( [p1,p2,p3], t=-Pi..Pi );
To avoid typing the full name of the command, you can load the plots
package using the command:
with( plots );
Then, you can use the short version:
spacecurve( [p1,p2,p3], t=-Pi..Pi );
I hope this helps,
Doug
-----------------------------------------------------------------------
Prof. Douglas B. Meade Phone: (803) 777-6183 FAX: (803)
777-6527
Department of Mathematics URL: http://www.math.sc.edu/~meade/
USC, Columbia, SC 29208 E-mail: "mailto:meade"
|
| [MUG] Re: graphing parametric equations in 3d |
|
Author: Kamminga
Posted: Thu, 28 Nov 2002 00:07:07 +0100
|
>> From: "kamminga" "kamminga"
Probably you want to plot the spacecurve of the parametric equations in 3d.
Try the following line:
with(plots): spacecurve([p1,p2,p3],t=0..1);
And for the Dutch Students in Delft:
An advise to use the booklet: Handleiding Maple (in Dutch language). See my
website.
Kind regards,
Metha Kamminga
http://www2.nhl.nl/~kamminga
|
Previous by date: [MUG] problems with subs(), Charles James Leonardo Quarra Cappiello
Next by date: [MUG] more about implicitdiff:complexity and recursiveness, Charles James Leonardo Quarra Cappiello
Previous thread: [MUG] animation problems, Bertfried Fauser
Next thread: [MUG] more about implicitdiff:complexity and recursiveness, Charles James Leonardo Quarra Cappiello
|
|
|