(28/48/50) Lambert W Function
|
03-22-2023, 08:55 PM
(This post was last modified: 03-22-2023 08:56 PM by John Keith.)
Post: #7
|
|||
|
|||
RE: (28/48/50) Lambert W Function
(03-21-2023 06:15 AM)Gerald H Wrote: This programme works for positive reals - I'm interested in the comparison of accuracy: They are roughly comparable, unless x is very large. A few examples: Code:
Exact values were computed with Mathematica version 12.2. As you can see, both programs lose accuracy for values very close to -1/e. Your program is very accurate over most of the real range but less accurate at MAXR. This is a known problem with Newton's method. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)