HP Forums
trigcos() function - 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: trigcos() function (/thread-2388.html)



trigcos() function - DrD - 11-04-2014 12:40 PM

s:=√((sin(t))²+(-cos(t)+1)²)
k:=expand(s) ---> √(-2*cos(t)+(cos(t))²+1+(sin(t))²)

trigcos(√(-2*cos(t)+(cos(t))²+1+(sin(t))²)) ---> √(-2.*cos(t)+2.)
trigcos(k) ---> 2.*ABS(sin(0.5*t))

With both trigcos() cases the same, why the additional simplification on trigcos(k)?

How can I get the trigcos(k) result: √(-2.*cos(t)+2.)?

Thanks,

-Dale-


RE: trigcos() function - parisse - 11-04-2014 02:22 PM

Maybe because you are not in exact mode.