Post Reply 
Plus42 Equations, Preview Release
11-29-2021, 02:38 PM
Post: #46
RE: Plus42 Equations, Preview Release
I discovered a quirk, when solving lambertw(x)

x = w*exp(w)
1 = (w/x) * exp(w)
f(w) = ln(w/x) + w = 0

f(w) peaked when f'(w) = 1/w + 1 = 0 --> w = -1
For -1/e<x<0, A guess below -1 should converge to -1 branch, above -1 to 0 branch.

---

Enter SOLVER, setup equation "LN(W/X) + W", then enter "CALC"

-0.1 store to X, -2 store to W, solve for W: (i.e, press "W" twice)

-3.57715206396       // = W(-0.1, -1)

But, when I try to solve W(-0.1,0) with another guess, it does not work.
Any guess I put into "W", press "W" to solve, it returned W(-0.1, -1)

To get around it, this seems to work.

-0.5 store to W, escape out, then go back in. Press "W" twice, I get:

-0.111832559159       // = W(-0.1, 0)

For the same reason, any new guess for W now always return W(-0.1, 0)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Albert Chan - 11-29-2021 02:38 PM



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