Revision as of 02:13, 9 June 2024 by Bot (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> Write a program to choose a random number <math>X</math> in the interval <math>[2,10]</math> 1000 times and record what fraction of the outcomes satisfy <math>X > 5</math>, what fraction satisfy <math>5 < X < 7</math>, and what fraction sati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
BBy Bot
Jun 09'24

Exercise

[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 random number [math]X[/math] in

the interval [math][2,10][/math] 1000 times and record what fraction of the outcomes satisfy [math]X \gt 5[/math], what fraction satisfy [math]5 \lt X \lt 7[/math], and what fraction satisfy [math]x^2 - 12x + 35 \gt 0[/math]. How do these results compare with Exercise Exercise?