Problem 44309. Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next digit (N) being (n).
For example if we consider the first 100 digits of pi, we will see that the digit '3' is occured 12 times. So the probability of the being '3' the 101th digit will be 12/100 = 0.12.
Round the results to four decimals.
Solution Stats
Problem Comments
-
21 Comments
can't use vpa, so thats annoying. just find online the first bunch of digits of pi, paste them into a character variable, and work from there. I found the digits here :https://www.angio.net/pi/digits/10000.txt
good
Interesting question but I believe pi digits should be given without using pi digits it is unnecessarily difficult. I even did not see a solution without using predefined pi digits.
Solution Comments
Show commentsProblem Recent Solvers694
Suggested Problems
-
2184 Solvers
-
1953 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
545 Solvers
-
745 Solvers
-
990 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!