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: Symbolic Toolbox: Solution of Trigonometric Equations
Replies: 4   Last Post: Jul 22, 2013 8:00 AM

Advanced Search

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

Posts: 23
Registered: 8/4/10
Re: Symbolic Toolbox: Solution of Trigonometric Equations
Posted: Jun 15, 2013 2:45 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Can you please help in the following particular case. I want all the minima points. Toolbox is returning only one.I have plotted function 'p'. It has no. of minimas.

syms t10 t11
p=(cos(t11)*sin(t10) + sin(t10)^3*cos(t11)*+sin(t10)^2 - cos(t11)^2*sin(t10)^2);
eq1=diff(p,t10);
eq2=diff(p,t11);
s=solve(eq1,eq2,'t10','t11')
s.t10
s.t11

"Nasser M. Abbasi" wrote in message <kpg7gf$d77$1@speranza.aioe.org>...
> On 6/14/2013 3:37 PM, Dinesh Bhati wrote:
> > Hi,
> >
> > solve((sin(t))^2-1)
> >
> > do not return 3*pi/2 but only pi/2.How can I get 3*pi/2 also.
> >
> > I am interested in all the solutions.
> >

>
> EDU>> evalin(symengine,'solve(sin(t)^2-1)')
>
>
> matrix([[t]]) in solvelib::VectorImageSet(matrix([[pi/2 + pi*k]]), k, Z_)
>
> so the answer is pi/2 + pi*k where k in Z (ie. set of integers)
>
> So let k=1 and you have your other solution.
>
> --Nasser




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.