Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [2 -3 4];
y_correct = (1.+sin(x))./cos(x)+cos(x)/(1.+sin(x));
assert(isequal(your_fcn_name(x),y_correct))
y =
-4.9941 -1.2736 -0.7781
|
2 | Pass |
x = 1:3:100;
y_correct = (1.+sin(x))./cos(x)+cos(x)/(1.+sin(x));
assert(isequal(your_fcn_name(x),y_correct))
y =
Columns 1 through 9
3.4549 -0.3254 2.2445 -0.4968 1.6117 -0.6969 1.2097 -0.9445 0.9220
Columns 10 through 18
-1.2736 0.6982 -1.7553 0.5124 -2.5700 0.3497 -4.3538 0.2005 -12.1419
Columns 19 through 27
0.0577 16.7682 -0.0846 4.9465 -0.2324 2.8476 -0.3924 1.9465 -0.5738
Columns 28 through 34
1.4295 -0.7904 1.0827 -1.0656 0.8252 -1.4446 0.6191
|
3417 Solvers
Who has power to do everything in this world?
256 Solvers
326 Solvers
83 Solvers
212 Solvers