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

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Steve
01/23/13 11:57pm

One problem is using DMS format as an input to the trig functions. Convert these to decimal first (and might as well convert to radians while you're at it):

In[29]:=
a = FromDMS[{33., 13.6, 0}] Degree
b = FromDMS[{23., 55.4, 0}] Degree
c = FromDMS[{109., 10.9, 0}] Degree

Out[29]= 0.579915

Out[30]= 0.417541

Out[31]= 1.90558

The next problem is using Cos[z] as your variable. Cos is a built-in function. Change the name:

In[32]:=
fCos = (Sin[-a ] - Sin[-b ]*Cos[c ])/(Cos[-b ]*Sin[c ])

Out[32]= -0.789017

URL: ,

Subject (listing for 'Trigonometry input question')
Author Date Posted
Trigonometry input question Sint 01/23/13 12:47pm
Re: Trigonometry input question Steve 01/23/13 11:57pm
Re: Trigonometry input question Bill Simpson 01/24/13 00:20am
Re: Trigonometry input question Sint 01/24/13 1:34pm
Re: Re: Trigonometry input question Bill Simpson 01/24/13 10:52pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic