My problem is the same as on the front page that I opened about calculate the price of stock that has a one-period horizon, is expected to pay a dividend of $.10 per share for the period, with the following prices and associated probabilities at the end of the period:

Probability: .2 .15 .25 .3 .1

Price: $ 15 18 21 23 25

the return on comparable stocks is 7%.

Please provide the fundamental formula besides the calculation. I followed the example and did not see where dividend of $.1per share is included.