Cody

Solution 1120576

Submitted on 11 Feb 2017 by Jihye Sofia Seo
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))

alpha = 5.2288 beta = 0.2489

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

alpha = Columns 1 through 9 5.2288 5.4245 5.6208 5.8176 6.0149 6.2126 6.4107 6.6090 6.8076 Column 10 7.0064 beta = Columns 1 through 9 0.2489 0.2489 0.2489 0.2489 0.2489 0.2489 0.2489 0.2489 0.2489 Column 10 0.2489