Cody

# Problem 42606. UICBioE240 problem 1.12

Solution 1899893

Submitted on 14 Aug 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 = 7; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

ans = 1.0e+03 * 1.0966 0.0019 0.0008

Output argument "y_e" (and maybe others) not assigned during call to "your_fcn_name". Error in Test1 (line 3) [y_e,y_ln,y_log] = your_fcn_name(x);

2   Fail
x = 11; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

ans = 1.0e+04 * 5.9874 0.0002 0.0001

Output argument "y_e" (and maybe others) not assigned during call to "your_fcn_name". Error in Test2 (line 3) [y_e,y_ln,y_log] = your_fcn_name(x);

3   Fail
x = 17; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

ans = 1.0e+07 * 2.4155 0.0000 0.0000

Output argument "y_e" (and maybe others) not assigned during call to "your_fcn_name". Error in Test3 (line 3) [y_e,y_ln,y_log] = your_fcn_name(x);

4   Fail
x = 42; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

ans = 1.0e+18 * 1.7393 0.0000 0.0000

Output argument "y_e" (and maybe others) not assigned during call to "your_fcn_name". Error in Test4 (line 3) [y_e,y_ln,y_log] = your_fcn_name(x);

5   Fail
x = 101; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

ans = 1.0e+43 * 7.3071 0.0000 0.0000

Output argument "y_e" (and maybe others) not assigned during call to "your_fcn_name". Error in Test5 (line 3) [y_e,y_ln,y_log] = your_fcn_name(x);