Problem 1807. 04 - Scalar Equations 2

Solution 306160

Submitted on 18 Aug 2013 by Suman Saha
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
%% a=10; b=2.5e23; ref = (sqrt(a)+b^(1/21))^pi; user = MyFunc(); assert(isequal(user,ref))

y = 6.2696e+03

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

y = 6.2696e+03

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

y = 6.2696e+03

Suggested Problems

More from this Author26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!