Search All of the Math Forum:

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

Topic: Symbolic Toolbox: Solution of Trigonometric Equations
Replies: 4   Last Post: Jul 22, 2013 8:00 AM

 Messages: [ Previous | Next ]
 Dinesh Bhati Posts: 24 Registered: 8/4/10
Re: Symbolic Toolbox: Solution of Trigonometric Equations
Posted: Jun 15, 2013 2:45 AM

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

Date Subject Author
6/14/13 Dinesh Bhati
6/14/13 Nasser Abbasi
6/15/13 Dinesh Bhati
6/15/13 Nasser Abbasi
7/22/13 Christopher Creutzig