Post Reply 
(42S) Lambert w Function Programme for Reals
01-31-2017, 06:06 PM (This post was last modified: 05-18-2020 08:42 AM by Gerald H.)
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.    { 39-Byte Prgm }
1.    LBL “LAM w”
2.    PGMSLV "W"
3.    STO 01
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- 01
19.    END
Find all posts by this user
Quote this message in a reply
Post Reply 




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