Cody

Solution 1064649

Submitted on 28 Nov 2016 by SANGWOO CHANG
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 0; y_correct = 1; assert(abs(my_func(x)-y_correct)<0.0001)

y = 1

2   Pass
x = [pi/2]; y_correct = [0]; assert(abs(my_func(x)-y_correct)<0.0001)

y = 6.1232e-17

3   Pass
assessFunctionAbsence({'sin','cos'}, 'FileName', 'my_func.m')