Problem 42846. Wien's displacement law

Solution 2097091

Submitted on 18 Jan 2020 by Asif Newaz
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
T = 1; lambda_correct = 1.057002706519664e-05; assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);

2   Pass
T = 10; lambda_correct = 1.023405587117661e-05; assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);

3   Pass
T = 100; lambda_correct = 7.765705265774241e-06; assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);

4   Pass
T = 1000; lambda_correct = 2.276065601008253e-06; assert(abs(WienWavelength(T)/lambda_correct-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!