Cody

Solution 1932123

Submitted on 12 Sep 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
a=10; b=2.5e23; ref = (sqrt(a)+b^(1/21))^pi; user = MyFunc(); assert(isequal(user,ref))

Undefined function or variable 'a'. Error in MyFunc (line 2) y = (sqrt(a)+(b)^(1/21))^(pi); Error in Test1 (line 4) user = MyFunc();

2   Fail
[y a b] = MyFunc(); assert(a==10);

Undefined function or variable 'a'. Error in MyFunc (line 2) y = (sqrt(a)+(b)^(1/21))^(pi); Error in Test2 (line 1) [y a b] = MyFunc();

3   Fail
[y a b] = MyFunc(); assert(b==2.5e23);

Undefined function or variable 'a'. Error in MyFunc (line 2) y = (sqrt(a)+(b)^(1/21))^(pi); Error in Test3 (line 1) [y a b] = MyFunc();