Cody

Solution 1973535

Submitted on 13 Oct 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 = 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))

Error in solution: Line: 2 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 2 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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

Error in solution: Line: 2 Column: 45 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.