Cody

Solution 1414470

Submitted on 11 Jan 2018 by Rafael Hernandez-Walls
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 = 1; y = 1; beta=5.*exp((-x+y-60)/20); alpha=0.1.*(-x-y-50)./(exp((-x-y-50)/10)-1); y_correct = alpha+beta; assert(isequal(your_fcn_name(x,y),y_correct))

z = 5.4778

2   Pass
x = 1:10; y = 1:10; beta=5.*exp((-x+y-60)/20); alpha=0.1.*(-x-y-50)./(exp((-x-y-50)/10)-1); y_correct = alpha+beta; assert(isequal(your_fcn_name(x,y),y_correct))

z = 5.4778 5.6734 5.8697 6.0665 6.2638 6.4615 6.6596 6.8579 7.0565 7.2553