When you have to repeatedly take the same test, with constant probability of succeeding/failing, you have to use Bernoulli's distribution. It states that, if you take
tests with "succeeding" probability
, and you want to "succeed" k of those n times, the probability is

In your case, you have n=18 (the number of tests), and p=0.3 (the probability of succeeding). We want to succeed between 8 and 12 times, which means choosing k=8,9,10,11, or 12. For example, the probability of succeeding 8 times is

you can plug the different values of k to get the probabilities of succeeding 9, 10, 11 and 12 times, and your final answer will be

Answer:
You square 44 and 31 but you have two square cot². This is your error.
That's why you are getting wrong answer or you are not getting 7 in your calculator
Percentage error

Here error = 16 - 15.4 = 0.6
Therefore, percentage error

=3.9%