Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Torsten
Posts:
1,627
Registered:
11/8/10


Re: 3 equation of cosine law
Posted:
Mar 25, 2013 4:30 AM


"DHAAH JOHARI" wrote in message <kik48r$k5a$1@newscl01ah.mathworks.com>... > > I think you want to use "cosd" instead of "cos" in your equations. > > > > Best wishes > > Torsten. > > Thanks Torsten..thank you very much! > but I still didn't get the answers,.. > It said error..i don't know how to fix it > > syms xyz > solutions = solve('x^2 = y^2+233600966.64*y*cosd(z65.56) ',' x^2 = y^2+155600788.92*y*cosd(z59.53)','x^2 = y^2+97600624.82*y*cosd(z50.19)') > [solutions.x solutions.y solutions.z]
I think cosd does not accept symbolic arguments. Convert 65.56°, 59.53° and 50.19° to radians and try again. And define syms x y z instead of syms xyz
Best wishes Torsten.



