Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Absolute' topicStudent Support Forum > General > Archives > "Absolute"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
10/26/12 11:52am

Substitute Sin and Cos for sin and cos and let Mathematica know you are only using Real values.

In[1]:= t=pi/2;p=0;k={Sin[t]*Cos[p],Sin[t]*Sin[p],Cos[t]};oP={x,y,z};
Assuming[Element[{t,x,y,z},Reals],
Simplify[Norm[k]]
]

Out[5]= 1

In[6]:= Assuming[Element[{t,x,y,z},Reals],
Simplify[Norm[oP]]
]

Out[6]= Sqrt[x^2 + y^2 + z^2]

URL: ,

Subject (listing for 'Absolute')
Author Date Posted
Absolute Renaud 10/25/12 8:33pm
Re: Absolute Bill Simpson 10/26/12 11:52am
Re: Re: Absolute Renaud 10/29/12 7:11pm
Re: Absolute Bill Simpson 10/26/12 4:46pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic