Given that there are 2 possible outcomes (tails and heads), the theoretical probability of getting heads is 1/2 = 0.5
In the experiment, 2 heads were obtained in 10 times. Then the experimental probability is 2/10 = 0.2.
Therefore, the difference between theoretical and experimental probabilities is 0.5 - 0.2 = 0.3