⧼exchistory⧽
23 exercise(s) shown, 0 hidden
BBy Bot
Jun 09'24

Write a program to simulate the problem described in Exercise.

BBy Bot
Jun 09'24

Write a program to carry out the following experiment. A coin is tossed 100 times and the number of heads that turn up is recorded. This experiment is then repeated 1000 times. Have your program plot a bar graph for the proportion of the 1000 experiments in which the number of heads is [math]n[/math], for each [math]n[/math] in the interval [math][35,65][/math]. Does the bar graph look as though it can be fit with a normal curve?

ABy Admin
Jun 13'24

Write a program that picks a random number between 0 and 1 and computesthe negative of its logarithm. Repeat this process a large number of times and plot a bar graph to give the number of times that the outcome falls in each interval of length 0.1 in [math][0,10][/math]. On this bar graph plot a graph of the density [math]f(x) = e^{-x}[/math]. How well does this density fit your graph?