Instructions Write a program that simulates coin tossing. The probability of hea
ID: 3042487 • Letter: I
Question
Instructions Write a program that simulates coin tossing. The probability of heads in your coin toss experiment is p. where p is equal to the sum of the last 4 digits of your RUID divided by 36 Generate a figure which plots the frequency of headsfn) in n tosses where fis shown on the y-axis and n is on the x-axis. The frequency of heads function. fn) is computed as the number of heads observed withintrials divided by n. See the example below. 0.8 0.6 04 02. 1020 3 50 6 70 890 0 Coin Toss Number Figure: https:/www.probabilitycourse.com chapterl2 chapterl2.phpExplanation / Answer
p=25/36 =0.6944
Alternate programme.