Professionally, the number of times a coin is tossed n times obeys Poisson distribution B(n, p), and this distribution expects E=np.
In this problem, p= 1/2, so the expectation is: n/2.
end