Programming your calculator22BINOMIALPurposeTo simulate a binomial random variable, consisting of a number of trials each of whichhas the same probability of success. For example, tossing a set of 12 coins, each ofwhich has a probability of 0.5 of landing 'heads', and counting how many of the twelveland heads each time.OperationEnter the probability of success each time, followed by .Enter the number of trials involved, followed by .Enter the number of separate simulations required, followed by . (A maximum of255 is possible.)For example, to simulate 50 separate sets of 12 tosses of a fair coin, enter:.The program will store the numbers of heads in each set of trials into List 1. Any dataalready in List 1 will be lost.You may like to use program FREQDIST to analyse the resulting data in List 1.Notice that, in the above case, you usually don't get exactly six 'heads' out of twelvetosses.