Error with exp function and imaginary numbers
|
07-28-2020, 02:48 PM
Post: #4
|
|||
|
|||
RE: Error with exp function and imaginary numbers
Hi, robmio
What do you get for exp(-1e49) ? If result underflowed to 0, the bug might be the cos/sin part exp(-1e49 - 1e49*i) = exp(-1e49) * exp(-1e49*i) = 10 ^ (-1e49/ln(10)) * (cos(-1e49) + i * sin(-1e49)) BTW, cos(-1e49) required more digits of pi than HP Prime provided cos(-1e49 mod (2 pi)) ≈ cos(2.736405887658145) ≈ -0.919028791855494 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Error with exp function and imaginary numbers - robmio - 07-27-2020, 10:08 AM
RE: Error with exp function and imaginary numbers - robmio - 07-27-2020, 01:13 PM
RE: Error with exp function and imaginary numbers - robmio - 07-28-2020, 01:03 PM
RE: Error with exp function and imaginary numbers - Albert Chan - 07-28-2020 02:48 PM
RE: Error with exp function and imaginary numbers - robmio - 07-28-2020, 03:51 PM
RE: Error with exp function and imaginary numbers - John Keith - 07-28-2020, 05:54 PM
RE: Error with exp function and imaginary numbers - robmio - 07-28-2020, 07:10 PM
|
User(s) browsing this thread: 2 Guest(s)