HP Forums
CAS cos(45) - 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: CAS cos(45) (/thread-4270.html)



CAS cos(45) - rgallier - 06-30-2015 05:04 PM

Why does CAS report cos(45)=sqrt(2)^-1 instead of sqrt(2)/2. angle mode is degrees and software is 7820.


RE: CAS cos(45) - Tim Wessman - 06-30-2015 05:20 PM

http://www.wolframalpha.com/input/?i=cos%2845%C2%B0%29 ???


However, you should probably update your calculator.


RE: CAS cos(45) - rgallier - 06-30-2015 05:38 PM

I would think it should avoid sqrt in the denominator and return sqrt(2)/2.


RE: CAS cos(45) - Joe Horn - 07-02-2015 12:58 AM

(06-30-2015 05:38 PM)rgallier Wrote:  I would think it should avoid sqrt in the denominator and return sqrt(2)/2.

It does, if you change the CAS "Simplify" Setting to either None or Maximum. It only returns 1/sqrt(2) when Simplify is set to Minimum, which unfortunately is the default setting. (FWIW, I keep mine on "None" at all times, and press the simplify button when the mood strikes).