Bascule is reading a book.
What is the probability that the first digit of the page he is on is 1, 2, 3, 4 or 5?
a) obtain an expression
b) approximate a numerical value
(In reply to
numerical solution - 2 by Cory Taylor)
so I guess that I can express it as follows:
define f(x)=1 when the first digit is 1 or 2 or 3 or 4 or 5, and 0 when the first digit is 6 or 7 or 8 or 9
Then the probibility P is:
P=lim(n->inf)((sum(x=1 to inf)f(x))/n)+n)/n
unless I've made a mistake