Write a program that simulates coin tossing. The probability of heads in your coin toss experiment is
Fantastic news! We've Found the answer you've been seeking!
Question:
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 heads f(n) in n tosses where f is shown on the y-axis and n is on the x-axis. The frequency of heads function, f(n) is computed as the number of heads observed within n trials divided by n. See the example below.
Figure: https://www.probabilitycourse.com/chapter12/chapter12.php
Related Book For
Mathematical Statistics With Applications In R
ISBN: 9780124171138
2nd Edition
Authors: Chris P. Tsokos, K.M. Ramachandran
Posted Date: