The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Trig Error in CAS
02-12-2016, 06:42 PM (This post was last modified: 02-12-2016 07:06 PM by chazzs.)
Post: #1
Trig Error in CAS
Can anyone explain to me (or recreate the bug) why acos(cos(2)) = 2pi - 2, and not 2, which you get when evaluating acos(cos(2.)). Works fine on the home side.

It seems 1 is the only (integer) value that is correct: acos(cos(1))=1.

Worse is acos(cos(4)) = -2 pi + 4 = -2.2831 (Should be positive, or 2 pi - 4).

These are all in radian mode. Degree mode seems to work fine. A little troubling, or I'm missing something.

C
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Trig Error in CAS - chazzs - 02-12-2016 06:42 PM
RE: Trig Error in CAS - DrD - 02-12-2016, 10:19 PM
RE: Trig Error in CAS - chazzs - 02-13-2016, 12:30 AM
RE: Trig Error in CAS - compsystems - 02-13-2016, 03:29 AM



User(s) browsing this thread: 1 Guest(s)