Write a program to simulate biased coin tossing. Take the probability of heads p is 0.621 Simulate n=10 coin tosses and record the number of heads. Repeat this experiment a million times. Compute the frequency of each possible outcome (number of heads in n tosses). Generate a figure as shown below. Repeat the above steps for n=40 and n=400. Compare the three plots. CODE HAS TO BE IN MATLAB FORM. STOP COPYING OTHER CODES WILL REPORT YOU. POST THE CODE IN MATLAB.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here