Cody

Solution 2265961

Submitted on 9 May 2020
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 = 3/4; y_correct = 3/5; assert(isequal(findsin(x),y_correct))

Unrecognized function or variable 'cosx'. Error in findsin (line 2) y =cosx/sinx; Error in Test1 (line 3) assert(isequal(findsin(x),y_correct))

2   Fail
x = 5/12; y_correct = 5/13; assert(isequal(findsin(x),y_correct))

Unrecognized function or variable 'cosx'. Error in findsin (line 2) y =cosx/sinx; Error in Test2 (line 3) assert(isequal(findsin(x),y_correct))