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,548
Registered:
11/8/10


Re: 3 equation of cosine law
Posted:
Mar 22, 2013 7:59 AM


"DHAAH JOHARI" wrote in message <kihfp2$dmt$1@newscl01ah.mathworks.com>... > please help me.. > anyone know how to solve this problem.. > I have 3 simultaneous equation based on the cosine law.. > > x^2=y^2+233600966.64*y*cos(z65.56); > x^2=y^2+155600788.92*y*cos(z59.53); > x^2=y^2+97600624.82*y*cos(z50.19); > > i know the answer for x=444.46, y=149.25 > but when i do the the coding like this below, i didn't get the same answer..i got > x=449.15, y=295.21 and z=61.28 > > syms xyz > solutions = solve('x^2 = y^2+233600966.64*y*cos(z65.56) ',' x^2 = y^2+155600788.92*y*cos(z59.53)','x^2 = y^2+97600624.82*y*cos(z50.19)') > [solutions.x solutions.y solutions.z]
I think you want to use "cosd" instead of "cos" in your equations.
Best wishes Torsten.



