Problem 1807. 04 - Scalar Equations 2

Solution 737964

Submitted on 17 Sep 2015 by LY Cao
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))

varargout = [6.2696e+03] [10] [2.5000e+23]

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

varargout = [6.2696e+03] [10] [2.5000e+23]

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

varargout = [6.2696e+03] [10] [2.5000e+23]

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!