Cody

Solution 1692815

Submitted on 14 Dec 2018 by Martin C.
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);

lambda = 1.0570e-05

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

lambda = 1.0234e-05

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

lambda = 7.7657e-06

4   Pass
T = 1000; lambda_correct = 2.276065601008253e-06; assert(abs(WienWavelength(T)/lambda_correct-1)<1e-5);

lambda = 2.2761e-06