http://openstudy.com/study#/updates/5390b2e0e4b0ca71e7353153

Transcription

http://openstudy.com/study#/updates/5390b2e0e4b0ca71e7353153
http://openstudy.com/study#/updates/5390b2e0e4b0ca71e7353153
In[4]:=
Clear@"Global`*"D; $Line = 0;
uv is a user defined Mathematica function that creates a unit vector.
In[1]:=
uv@Θ_D := 8Cos@ΘD , Sin@ΘD<
The positive y axis is 0°, North, and the positive x axis is 90°, East.
Norm, a Mathematica function, calculates a vector’
s length.
In[2]:=
Out[2]=
310 uv@90 °D + 150 uv@90 °- 20 °D  Norm
H310 + 150 Cos@20 °DL2 + 22 500 Sin@20 °D2
Convert the above to a decimal number.
In[3]:=
Out[3]=
Out@2D miles  N
453.863 miles