I want to solve a problem coin toss dynamic and want to look the probability converge to 0.5 for H and T. But I dont know how to integrate the area under the curve. I use this function and develop the curve in attachment.
f[x_, n_] := 9.8/2/x*(Pi/2 + Pi*n)
Could anyone please tell me how to integrate red and white area in order to measure probability.