exercise:A32ca4c716: Difference between revisions

From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> In the spinner problem (see Example) divide the unit circumference into three arcs of length 1/2, 1/3, and 1/6. Write a program to simulate the spinner experiment 1000 times and print out what fraction of the o...")
 
No edit summary
 
Line 1: Line 1:
<div class="d-none"><math>
In the spinner problem (see [[guide:A070937c41#exam 2.1.1 |Example]]) divide the unit circumference into three arcs of length 1/2, 1/3, and 1/6.  
\newcommand{\NA}{{\rm NA}}
\newcommand{\mat}[1]{{\bf#1}}
\newcommand{\exref}[1]{\ref{##1}}
\newcommand{\secstoprocess}{\all}
\newcommand{\NA}{{\rm NA}}
\newcommand{\mathds}{\mathbb}</math></div> In the spinner problem (see [[guide:A070937c41#exam 2.1.1 |Example]])  
divide the unit circumference into three arcs of length 1/2, 1/3, and 1/6.  
Write a program to simulate the spinner experiment 1000 times and print out what
Write a program to simulate the spinner experiment 1000 times and print out what
fraction of the outcomes fall in each of the three arcs.  Now plot a bar graph
fraction of the outcomes fall in each of the three arcs.  Now plot a bar graph

Latest revision as of 21:21, 12 June 2024

In the spinner problem (see Example) divide the unit circumference into three arcs of length 1/2, 1/3, and 1/6. Write a program to simulate the spinner experiment 1000 times and print out what fraction of the outcomes fall in each of the three arcs. Now plot a bar graph whose bars have width 1/2, 1/3, and 1/6, and areas equal to the corresponding fractions as determined by your simulation. Show that the heights of the bars are all nearly the same.