Cody

# Problem 42606. UICBioE240 problem 1.12

Solution 1818255

Submitted on 16 May 2019 by Dani Péter
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
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)

y = 1.0e+03 * 1.0966 0.0019 0.0008

2   Pass
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)

y = 1.0e+04 * 5.9874 0.0002 0.0001

3   Pass
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)

y = 1.0e+07 * 2.4155 0.0000 0.0000

4   Pass
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)

y = 1.0e+18 * 1.7393 0.0000 0.0000

5   Pass
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)

y = 1.0e+43 * 7.3071 0.0000 0.0000

### Community Treasure Hunt

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

Start Hunting!