Cody

Problem 759. mathematics , probability problem

Solution 2981947

Submitted on 23 Sep 2020 at 4:25 by ChrisR
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
k = 2; y_correct = 21; assert(isequal(your_fcn_name(k),y_correct))

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

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

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

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

Suggested Problems

More from this Author11

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!