Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
Torsten

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

"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+233600-966.64*y*cosd(z-65.56) ',' x^2 = y^2+155600-788.92*y*cosd(z-59.53)','x^2 = y^2+97600-624.82*y*cosd(z-50.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.



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.