Cody

Problem 403. Einsteinium-253 decay

Solution 2071069

Submitted on 27 Dec 2019
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
x = 50; y_correct = 184; assert(isequal(decay(x),y_correct))

Unrecognized function or variable 'e'. Error in decay (line 3) y=ceil(1000*e^(-a*x*86400)) Error in Test1 (line 3) assert(isequal(decay(x),y_correct))

2   Fail
x = 60; y_correct = 132; assert(isequal(decay(x),y_correct))

Unrecognized function or variable 'e'. Error in decay (line 3) y=ceil(1000*e^(-a*x*86400)) Error in Test2 (line 3) assert(isequal(decay(x),y_correct))