Find the probability that heads will fall an even number of times, in an experiment in which:
a) a symmetrical coin is thrown \(n\) times;
b) a coin is thrown \(n\) times, for which the probability of getting heads in one throw is \(p(0 < p < 1)\).