3D Rotations
flag
Messages 1 - 10 of 185 - Collapse all
/groups/adfetch?adid=GBuuPhIAAABwagM6g6A0zABcNBAWuA10A-seRgWUrY1Re68AkUbKNw
3D Rotations  
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
1.  Sam  
View profile  
 More options Jan 2 2005, 4:24 pm
Newsgroups: comp.soft-sys.math.maple
From: "Sam" <sha...@techie.com>
Date: Sun, 02 Jan 2005 21:24:10 GMT
Local: Sun, Jan 2 2005 4:24 pm
Subject: 3D Rotations
Hello,
For a calculus project I must design a vase and graph it using rotations, I
was wondering what pieces of software allow one to graph 3d rotatoins.

Thanks,
Sam


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Thomas Richard  
View profile  
 More options Jan 3 2005, 3:32 am
Newsgroups: comp.soft-sys.math.maple
From: t.rich...@scientific.de (Thomas Richard)
Date: Mon, 03 Jan 2005 08:32:57 GMT
Local: Mon, Jan 3 2005 3:32 am
Subject: Re: 3D Rotations

"Sam" <sha...@techie.com> wrote:
> For a calculus project I must design a vase and graph it using rotations, I
> was wondering what pieces of software allow one to graph 3d rotatoins.

Maple has commands like VolumeOfRevolution and SurfaceOfRevolution in
its Student[Calculus1] package. While their primary purpose is computing
integrals, these commands also support an output=plot option which does
what you want.

--
Thomas Richard
Maple Support
Scientific Computers GmbH
http://www.scientific.de


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
3.  James Buddenhagen  
View profile  
 More options Jan 4 2005, 10:54 am
Newsgroups: comp.soft-sys.math.maple
From: "James Buddenhagen" <foo_...@texas.net>
Date: Tue, 04 Jan 2005 15:54:55 GMT
Local: Tues, Jan 4 2005 10:54 am
Subject: Re: 3D Rotations
"Sam" <sha...@techie.com> wrote in message

news:_DZBd.64327$k25.9536@attbi_s53...

> Hello,
> For a calculus project I must design a vase and graph it using rotations, I
> was wondering what pieces of software allow one to graph 3d rotatoins.

> Thanks,
> Sam

# One way to do this without using the Student package is to build a grid
# of points on your vase, called MESH in maple, and display that.

# First make plotting routines available by loading the plots and plottools
# packages

with(plots): with(plottools):

# start with a single curve on the x-y plane (approximated by a list
# of points) say:

rib0:=CURVES([[0,1,0],[1,2,0],[2,2,0],[3,1,0],[4,1,0]]);

# now rotate this repeatedly by say 2*Pi/5 about the x-axis:
# use 2*Pi/n to create n ribs instead of 5

t:=2*Pi/5;
rib1:=rotate(rib0,t,0,0);  # rotate by t about x-axis, 0 about y-axis, 0 about
z-axis
rib2:=rotate(rib0,2*t,0,0);
rib3:=rotate(rib0,3*t,0,0);
rib4:=rotate(rib0,4*t,0,0);

# now you have 5 longitudinal ribs on your vase
# you can display and interactively view them using the display command

display(rib0,rib1,rib2,rib3,rib4,scaling=constrained);

# To make it look more like a vase turn the ribs into a MESH
# A mesh is a list of lists, not a list of curves so we need
# to remove CURVES from each rib.  The op command does this:

vase:=MESH([op(rib0),op(rib1),op(rib2),op(rib3),op(rib4),op(rib0)]);

# note rib0 is used twice so the mesh 'closes'
# now display again:

display(vase,scaling=constrained);

# of course your curve will have more points and you will want
# more ribs.  I'll leave that to you, but you might consider
# using seq to generate a sequence of ribs, and put the result
# in brackets to prepare it for MESH.

# Jim Buddenhagen


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Half angles.  
1.  José Rui Faustino de Sousa  
View profile  
 More options Jan 4 2005, 8:22 am
Newsgroups: comp.soft-sys.math.maple
From: José Rui Faustino de Sousa <jrfsousaAPW...@esoterica.pt>
Date: Tue, 4 Jan 2005 13:22:49 -0000
Local: Tues, Jan 4 2005 8:22 am
Subject: Half angles.
 Hi!

How does one coerce Maple 9.5.2 to expand half angle trignometric
expressions like:

cos(o/2)=sqrt((1+cos(o))/2)

I googled everywhere and I can not find a way to do this!

Thank you very much.

Best regards
José Rui

--
========================================================================
"Theology is never any help; it is searching in a dark cellar at
midnight for a black cat that isn't there." Robert A. Heinlein
========================================================================
mailto://jrfsousaAPW...@esoterica.pt/ Crawler baith. UnCaps me to reply.
Contact information: http://homepage.esoterica.pt/~jrfsousa/contact.html
========================================================================


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  A N Niel  
View profile  
 More options Jan 4 2005, 9:16 am
Newsgroups: comp.soft-sys.math.maple
From: A N Niel <ann...@nym.alias.net.invalid>
Date: Tue, 04 Jan 2005 09:16:50 -0500
Local: Tues, Jan 4 2005 9:16 am
Subject: Re: Half angles.
In article <33vjlbF40sms...@individual.net>, José Rui Faustino de Sousa

<jrfsousaAPW...@esoterica.pt> wrote:
>  Hi!

> How does one coerce Maple 9.5.2 to expand half angle trignometric
> expressions like:

> cos(o/2)=sqrt((1+cos(o))/2)

Since it is WRONG in some cases (when cos(o/2) is negative, for
example), you should be happy that Maple does not do it automatically.
How about this:

> A := cos(t/2);

                                 /1  \
                         A := cos|- t|
                                 \2  /
> convert(A^2,exp);

                                              2
                 /1    /1    \        1      \
                 |- exp|- I t| + ------------|
                 |2    \2    /        /1    \|
                 |               2 exp|- I t||
                 \                    \2    //
> expand(%);

                           2                      
             1 /   /1    \\    1          1      
             - |exp|- I t||  + - + ---------------
             4 \   \2    //    2                 2
                                     /   /1    \\
                                   4 |exp|- I t||
                                     \   \2    //
> simplify(%);

                          1          1
                          - cos(t) + -
                          2          2

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
3.  José Rui Faustino de Sousa  
View profile  
 More options Jan 4 2005, 10:03 am
Newsgroups: comp.soft-sys.math.maple
From: José Rui Faustino de Sousa <jrfsousaAPW...@esoterica.pt>
Date: Tue, 4 Jan 2005 15:03:40 -0000
Local: Tues, Jan 4 2005 10:03 am
Subject: Re: Half angles.

A N Niel wrote:
> Since it is WRONG in some cases (when cos(o/2) is negative, for
> example), you should be happy that Maple does not do it automatically.

Yes I am aware of that... But I should have the possibility to choose
that beahvior when is needed.

ANd it should be automatic if o is "assume"ed to have the proper
properties.

> How about this:

The half angle expressions are disperssed in several much longer
equations so I think that will not do.

Thank you very much.

Best regards
José Rui

--
========================================================================
"Theology is never any help; it is searching in a dark cellar at
midnight for a black cat that isn't there." Robert A. Heinlein
========================================================================
mailto://jrfsousaAPW...@esoterica.pt/ Crawler baith. UnCaps me to reply.
Contact information: http://homepage.esoterica.pt/~jrfsousa/contact.html
========================================================================


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
4.  Carl Devore  
View profile  
 More options Jan 5 2005, 2:32 am
Newsgroups: comp.soft-sys.math.maple
From: Carl Devore <dev...@math.udel.edu>
Date: Wed, 5 Jan 2005 02:32:20 -0500
Local: Wed, Jan 5 2005 2:32 am
Subject: Re: Half angles.
On Tue, 4 Jan 2005, José Rui Faustino de Sousa wrote:

> How does one coerce Maple 9.5.2 to expand half angle trignometric
> expressions like:

> cos(o/2)=sqrt((1+cos(o))/2)

One way is:

> eval([solve](cos(2*x)=expand(cos(2*x)), cos(x)), x= theta/2)[];

               1/2*(2+2*cos(theta))^(1/2), -1/2*(2+2*cos(theta))^(1/2)

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
5.  Joe Riel  
View profile  
 More options Jan 5 2005, 10:45 am
Newsgroups: comp.soft-sys.math.maple
From: Joe Riel <j...@k-online.com>
Date: Wed, 05 Jan 2005 15:45:37 GMT
Local: Wed, Jan 5 2005 10:45 am
Subject: Re: Half angles.

Carl Devore <dev...@math.udel.edu> writes:
> On Tue, 4 Jan 2005, José Rui Faustino de Sousa wrote:
>> How does one coerce Maple 9.5.2 to expand half angle trignometric
>> expressions like:

>> cos(o/2)=sqrt((1+cos(o))/2)

> One way is:
>> eval([solve](cos(2*x)=expand(cos(2*x)), cos(x)), x= theta/2)[];

>                1/2*(2+2*cos(theta))^(1/2), -1/2*(2+2*cos(theta))^(1/2)

Note, however, that this doesn't work with the sin:

> eval([solve](sin(2*x)=expand(sin(2*x)), sin(x)), x= theta/2)[];  

                                    sin(theta)
                                1/2 ----------
                                        theta
                                    cos(-----)
                                          2
Joe

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
6.  Alec Mihailovs  
View profile  
 More options Jan 5 2005, 3:57 pm
Newsgroups: comp.soft-sys.math.maple
From: "Alec Mihailovs" <a...@mihailovs.com>
Date: Wed, 05 Jan 2005 20:57:05 GMT
Local: Wed, Jan 5 2005 3:57 pm
Subject: Re: Half angles.

"Joe Riel" <j...@k-online.com> wrote in message

news:87vfabubgw.fsf@k-online.com...

Well, finding identies seems to be a different problem than substituting
them. Usual trig identities are listed in trigsubs, so we can do something
like that, using Carl's idea,

solve(cos(theta)=trigsubs(cos(theta))[3],cos(theta/2));
                              1/2                         1/2
        1/2 (2 + 2 cos(theta))   , -1/2 (2 + 2 cos(theta))

solve(cos(theta)=trigsubs(cos(theta))[4],sin(theta/2));

                              1/2                         1/2
        1/2 (2 - 2 cos(theta))   , -1/2 (2 - 2 cos(theta))

trigsubs(tan(theta/2))[5..6];

                      sin(theta)    1 - cos(theta)
                   [--------------, --------------]
                    cos(theta) + 1    sin(theta)

Returning back to the original question,

> How does one coerce Maple 9.5.2 to expand half angle trignometric
> expressions like:

> cos(o/2)=sqrt((1+cos(o))/2)

that depends on the expressions - whether they contain o/4, for instance,
and what one wants to do with them - convert to o/2 or go all the way up to
o; also, whether one wants to do that only with o/2 angles, or with x/2, y/2
etc.  In the simplest case, when we have only half angles of o, we could
just use subs, or eval, such as

subs(cos(o/2)=sqrt((1+cos(o))/2), expression);

eval(expression, cos(o/2)=sqrt((1+cos(o))/2));

Alec Mihailovs
http://math.tntech.edu/alec/


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Creating a sequence of m expressions  
1.  Sam  
View profile  
 More options Jan 5 2005, 8:08 am
Newsgroups: comp.soft-sys.math.maple
From: transgress...@hotmail.com (Sam)
Date: 5 Jan 2005 05:08:26 -0800
Local: Wed, Jan 5 2005 8:08 am
Subject: Creating a sequence of m expressions
Hello Maple Experts,

I hope you can help with a problem I'm trying to solve in Maple.  I

I start with....
------------------------------

> restart;
> A:=product(x[i]^2,i=1..10);

         2     2     2     2     2     2     2     2     2      2
A := x[1]  x[2]  x[3]  x[4]  x[5]  x[6]  x[7]  x[8]  x[9]  x[10]

> B:=diff(A,seq(x[i],i = 1 .. 10));

B := 1024 x[1] x[2] x[3] x[4] x[5] x[6] x[7] x[8] x[9] x[10]
-------------------------------

Perfect so far.  However, I'd like to generalise the solution to...
-------------------------------

> restart;
> A:=product(x[i]^2,i=1..m);

                               m          
                           ,--------'    
                              |  |        
                              |  |       2
                      A :=    |  |   x[i]
                              |  |        
                             i = 1        
> B:=diff(A,seq(x[i],i = 1 .. m));

Error, unable to execute seq
-------------------------------

After reading the Help pages for seq, I find that the final limit for
seq has to be a literal.

Does anyone else have any ideas?  Thank you for reading this message.

Sam


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google