Cody

Solution 2291153

Submitted on 18 May 2020 by Ilia Belskii
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 = 10; assert(length(randpro(x))==10) assert(std(randpro(x))>9) assert(std(randpro(x))<11)

y = 1.6371 21.4676 23.5352 2.2208 5.1856 1.9782 15.9834 22.9503 4.8670 23.9229 y = 7.6228 19.9842 3.5673 27.9792 4.5187 18.8992 18.7470 29.0860 4.8071 24.4610 y = 27.7868 6.6819 7.6506 10.5395 20.9261 3.8076 25.4492 1.9314 26.7524 10.3642

2   Pass
x = 17; assert(length(randpro(x))==17) assert(std(randpro(x))>16) assert(std(randpro(x))<18)

y = 56.3630 65.0415 63.3532 32.6159 35.6348 34.1430 38.9723 42.1046 24.7781 33.4170 59.5530 37.9665 5.9862 61.9393 14.3716 35.4331 30.1551 y = 51.8657 54.6388 45.5338 39.4274 5.3560 27.6213 12.9157 47.7019 45.1837 0.8300 19.3122 34.2481 54.7759 32.3150 36.2342 52.9119 33.4377 y = 40.3237 24.5708 48.6447 59.6460 21.6091 48.6134 66.7533 63.9272 54.7691 3.2540 51.3792 50.1534 47.0142 54.4670 52.5237 23.0441 50.3397

Suggested Problems

More from this Author100