Cody

Solution 1246665

Submitted on 5 Aug 2017 by Chris Cleveland
  • Size: 13
  • This is the leading solution.
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