Cody

Problem 43330. Solve expression III

Solution 1855451

Submitted on 21 Jun 2019 by Evan
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 = 2:4; y_correct =(tan(2.*x.^2+7.*x-30.25)+log(x.^3-2.25))./(nthroot(sin(x.^3).^2+1/5*log(x.^4-2.5),3)); assert(isequal(your_fcn_name(x),y_correct))

y = 3.6179 1.9849 11.6818

2   Pass
x = 6; y_correct =(tan(2.*x.^2+7.*x-30.25)+log(x.^3-2.25))./(nthroot(sin(x.^3).^2+1/5*log(x.^4-2.5),3)); assert(isequal(your_fcn_name(x),y_correct))

y = 2.8371

3   Pass
x = 30:2:40; y_correct =(tan(2.*x.^2+7.*x-30.25)+log(x.^3-2.25))./(nthroot(sin(x.^3).^2+1/5*log(x.^4-2.5),3)); assert(isequal(your_fcn_name(x),y_correct))

y = 7.0835 3.9031 7.4516 6.0944 8.1788 7.7037

Suggested Problems

More from this Author37

Community Treasure Hunt

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

Start Hunting!