Post Reply 
(42S) Lambert w Function Programme for Reals
01-31-2017, 06:06 PM (This post was last modified: 06-15-2017 01:48 PM by Gene.)
Post: #1
(42S) Lambert w Function Programme for Reals
For real input the programme returns the value of the Lambert w function.

For info see

https://en.wikipedia.org/wiki/Lambert_W_function

Code:

0.    { 42-Byte Prgm }
1.    LBL “LAM w”
2.    PGMSLV "W"
3.    STO "X"
4.    LN
5.    ABS
6.    ENTER
7.    LN
8.    -
9.    STO "W"
10.    SOLVE "W"
11.    R↓
12.    RTN
13.    LBL "W"
14.    RCL "W"
15.    ENTER
16.    E^X
17.    *
18.    RCL- "X"
19.    END
Find all posts by this user
Quote this message in a reply
Post Reply 




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