Cody

# Problem 759. mathematics , probability problem

Solution 1957256

Submitted on 3 Oct 2019
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
k = 2; y_correct = 21; assert(isequal(your_fcn_name(k),y_correct))

Undefined function 'binom' for input arguments of type 'double'. Error in your_fcn_name (line 2) y = binom(5+k, k); Error in Test1 (line 3) assert(isequal(your_fcn_name(k),y_correct))

2   Fail
k = 6; y_correct = 462; assert(isequal(your_fcn_name(k),y_correct))

Undefined function 'binom' for input arguments of type 'double'. Error in your_fcn_name (line 2) y = binom(5+k, k); Error in Test2 (line 3) assert(isequal(your_fcn_name(k),y_correct))

3   Fail
k = 20; y_correct = 53130; assert(isequal(your_fcn_name(k),y_correct))

Undefined function 'binom' for input arguments of type 'double'. Error in your_fcn_name (line 2) y = binom(5+k, k); Error in Test3 (line 3) assert(isequal(your_fcn_name(k),y_correct))

4   Fail
k = 3; y_correct = 56; assert(isequal(your_fcn_name(k),y_correct))

Undefined function 'binom' for input arguments of type 'double'. Error in your_fcn_name (line 2) y = binom(5+k, k); Error in Test4 (line 3) assert(isequal(your_fcn_name(k),y_correct))

5   Fail
k = 5; y_correct = 252; assert(isequal(your_fcn_name(k),y_correct))

Undefined function 'binom' for input arguments of type 'double'. Error in your_fcn_name (line 2) y = binom(5+k, k); Error in Test5 (line 3) assert(isequal(your_fcn_name(k),y_correct))