exercise:8eee51386b: Difference between revisions
From Stochiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
\newcommand{\NA}{{\rm NA}} | \newcommand{\NA}{{\rm NA}} | ||
\newcommand{\mathds}{\mathbb}</math></div> Write a program to choose a point <math>(X,Y)</math> ''at random'' in a square of side 20 inches, doing this 10,00 times, and recording what fraction of the outcomes fall within 19 inches of the center; of these, what fraction fall | \newcommand{\mathds}{\mathbb}</math></div> Write a program to choose a point <math>(X,Y)</math> ''at random'' in a square of side 20 inches, doing this 10,00 times, and recording what fraction of the outcomes fall within 19 inches of the center; of these, what fraction fall | ||
between 8 and 10 inches of the center; and, of these, what fraction fall within | between 8 and 10 inches of the center; and, of these, what fraction fall within the first quadrant of the square. How do these results compare with those o [[exercise:9d90fef1a2 |Exercise]]? | ||
the first quadrant of the square. How do these results compare with those | |||
Revision as of 22:30, 12 June 2024
[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]
Write a program to choose a point [math](X,Y)[/math] at random in a square of side 20 inches, doing this 10,00 times, and recording what fraction of the outcomes fall within 19 inches of the center; of these, what fraction fall
between 8 and 10 inches of the center; and, of these, what fraction fall within the first quadrant of the square. How do these results compare with those o Exercise?