Date: Mar 22, 2013 7:59 AM
Subject: Re: 3 equation of cosine law
"DHAAH JOHARI" wrote in message <firstname.lastname@example.org>...
> please help me..
> anyone know how to solve this problem..
> I have 3 simultaneous equation based on the cosine law..
> 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+233600-966.64*y*cos(z-65.56) ',' x^2 = y^2+155600-788.92*y*cos(z-59.53)','x^2 = y^2+97600-624.82*y*cos(z-50.19)')
> [solutions.x solutions.y solutions.z]
I think you want to use "cosd" instead of "cos" in your equations.