Post Reply 
sin(x)^2+cos(x)^2 = 1 on different calcs
09-24-2018, 06:12 PM (This post was last modified: 09-24-2018 06:14 PM by Albert Chan.)
Post: #5
RE: sin(x)^2+cos(x)^2 = 1 on different calcs
(09-24-2018 05:16 PM)Joe Horn Wrote:  Not really; it just LOOKS like 1. Output sin(x)^2+cos(x)^2-1 instead, and you'll see where it wasn't really 1, as well as the size of the error (which is extremely small). It also depends on which angle mode you're in.

Agreed. The "1" may be just a rounded number.
However, subtract 1 to peek at the errors might not work.
Some (most?) calculator, trying to be "nice", will convert the tiny amount to zero.

http://people.ku.edu/~wzhuang/CAMseminar...ecrets.pdf

Better approach is get around the trigger, and subtract, say 0.999999999
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: sin(x)^2+cos(x)^2 = 1 on different calcs - Albert Chan - 09-24-2018 06:12 PM



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