Cody

Problem 44951. Verify Law of Large Numbers

Solution 2141997

Submitted on 27 Feb 2020 by Julián Esteban Olejua Pinto
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
N = 6; rng(7); assert((round(abs(loln(N)),7) == 7.2900e-05))

mean_int = 3.5000 x = 3.4999

2   Pass
N = 10; rng(1000); assert((round(abs(loln(N)),7) == 8.7600e-05))

mean_int = 5.5000 x = 5.4999

Suggested Problems

More from this Author13