The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: 3 equation of cosine law
Replies: 8   Last Post: Apr 2, 2013 6:34 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1,717
Registered: 11/8/10
Re: 3 equation of cosine law
Posted: Mar 22, 2013 7:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"DHAAH JOHARI" wrote in message <kihfp2$dmt$>...
> please help me..
> anyone know how to solve this problem..
> I have 3 simultaneous equation based on the cosine law..
> 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);
> 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.

Best wishes

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.