 Answer - trigonometric equation - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Answer - trigonometric equation (/thread-7035.html) Answer - trigonometric equation - toya29 - 10-14-2016 12:19 AM Hi. When i try to solve a trigonometric equation. I'm not sure how to receive the answers in terms of pi and n. for example: solve(sin(x)=0) = {0, pi} but i want receive {n*pi} My firmware is 10637 (29/08/2016) thanks . RE: Answer - trigonometric equation - Steve Keeley - 10-14-2016 04:47 AM Go into settings and turn off "Principal:" RE: Answer - trigonometric equation - compsystems - 10-14-2016 05:05 AM CAS Settings: Principal Solution: [OFF] solve( sin(x)= 0, x) ; [enter] returns {n_0*π} // ok but Ans|(n_0 = 1) not evaluated, Why? . RE: Answer - trigonometric equation - Han - 10-14-2016 03:41 PM (10-14-2016 05:05 AM)compsystems Wrote:  CAS Settings: Principal OFF solve( sin(x)= 0, x) ; [enter] returns {n_0*π} // ok but (Ans|(n_0 = 1)) not evaluated, Why? This may be due to the priority of the | (where) operator. The (literal) expression "Ans" does not contain any references to n_0 so that substitution does nothing. After evaluation of Ans, you get the unevaluated result because the evaluation of n_0 = 1 happened before the evaluation of Ans. There was an old thread discussing this a while back... RE: Answer - trigonometric equation - parisse - 10-14-2016 05:03 PM You don't need | in CAS, s:=solve(sin(x)=0); s(1)(n_1=1)