Cody

Problem 42848. Lambert's W

Solution 886790

Submitted on 6 May 2016 by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
A = 1; x = LambertW(A); A_correct = x*exp(x); assert(abs(A_correct/A-1)<1e-5)

2   Pass
A = 6.8; x = LambertW(A); A_correct = x*exp(x); assert(abs(A_correct/A-1)<1e-5)

3   Pass
A = 14; x = LambertW(A); A_correct = x*exp(x); assert(abs(A_correct/A-1)<1e-5)

Suggested Problems

More from this Author8

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!