Cody

Solution 388760

Submitted on 21 Jan 2014
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   Fail
%% seconds = 10; distance_correct = 2.1333; assert( abs (distance_correct - LightningDistance(seconds)) < 0.0001)
Error: Undefined function 'LightningDistance' for input arguments of type 'double'.
2   Fail
%% seconds = 6; distance_correct = 1.28; assert( abs (distance_correct - LightningDistance(seconds)) < 0.0001)
Error: Undefined function 'LightningDistance' for input arguments of type 'double'.
3   Fail
%% seconds = 3; distance_correct = 0.6400; assert( abs (distance_correct - LightningDistance(seconds)) < 0.0001)
Error: Undefined function 'LightningDistance' for input arguments of type 'double'.
4   Fail
%% seconds = 1; distance_correct = 0.2133; assert( abs (distance_correct - LightningDistance(seconds)) < 0.0001)
Error: Undefined function 'LightningDistance' for input arguments of type 'double'.