A stock is currently worth \$$100$. each day a coin is flipped and a dice rolled. If the coin lands heads the stock price increases by the rolled value of the dice in $. If the coin lands tails, the stock price decreases by rolled value of the dice. What is probability that after 10 days the stock is worth more than 150?
What I've tried is that 50 is such a large number that if you don't roll a 6, you have to roll 5*5 for the dice every day. And then to discuss case by case of rolling one 6,two 6 and so on.But that's a lot of work and seems tedious for 10 cases.
Anyone can give me some insights on this?
We can exactly solve this using the methodology of probability generating functions, together with a computer to help us crunch the numbers.
Let $f(x)$ be the probability generating function for the price increase of a single day. This increase is equally likely to be any number in $\{-6,-5,\dots,-1,1,2,\dots,6\}$, so $$ f(x)= \tfrac1{12}x^{-6}+\tfrac1{12}x^{-5}+\dots+\tfrac1{12}x^{-1}+ \tfrac1{12}x^{1}+\tfrac1{12}x^{2}+\dots+\tfrac1{12}x^{6} $$ I have not defined what a probability generating function is, but hopefully the above makes it somewhat clear. The probability generating function (pgf) encodes a probability distribution, with the coefficient of $x^n$ giving the probability of the value $n$.
It follows that the probability generating for the sum of the increases over ten days is $(f(x))^{10}$. This is the magic of probability generating functions; adding independent random variables corresponds to multiplication of pgf's. Therefore, we just need to compute $(f(x))^{10}$, and add up the coefficients of $x^n$, as $n$ ranges from $51$ to $60$. You can either do this with a computer-algebra-system, or you can directly write a program which multiplies pgf's, via the lists of their coefficients. I did the latter, and I found that the probability of the price increasing by more than $50$ over ten days is $$\frac{90\,178}{12^{10}}=\frac{45\,089}{30\,958\,682\,112}\approx 1.4564\times 10^{-6}.$$
Here is the Python program I used to compute this answer: