Post Reply 
sin(x) & cos(x) for x = 10²² in radians
10-03-2023, 07:56 PM
Post: #30
RE: sin(x) & cos(x) for x = 10²² in radians
(10-03-2023 06:29 PM)dm319 Wrote:  Python 3.10.12:
math.sin(10^22) : 0.27090578830786904
math.cos(10^22) : -0.9626058663135666
In Python operator ^ means XOR. You should use here 10**22 or just 1e22.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: sin(x) & cos(x) for x = 10²² in radians - Ajaja - 10-03-2023 07:56 PM



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