Parent Directory
|
Revision Log
Revision 656 - (view) (download)
| 1 : | apizer | 656 | ## DESCRIPTION |
| 2 : | ## Apply the Central Limit Theorem | ||
| 3 : | ## ENDDESCRIPTION | ||
| 4 : | |||
| 5 : | ## KEYWORDS('Probability', 'Central Limit Theorem') | ||
| 6 : | ## Tagged by nhamblet | ||
| 7 : | |||
| 8 : | ## DBsubject('Probability') | ||
| 9 : | ## DBchapter('Theory') | ||
| 10 : | ## DBsection('The Central Limit Theorem') | ||
| 11 : | ## Date('') | ||
| 12 : | ## Author('') | ||
| 13 : | ## Institution('Rochester') | ||
| 14 : | ## TitleText1('') | ||
| 15 : | ## EditionText1('') | ||
| 16 : | ## AuthorText1('') | ||
| 17 : | ## Section1('') | ||
| 18 : | ## Problem1('') | ||
| 19 : | |||
| 20 : | DOCUMENT(); # This should be the first executable line in the problem. | ||
| 21 : | |||
| 22 : | loadMacros( | ||
| 23 : | "PG.pl", | ||
| 24 : | "PGbasicmacros.pl", | ||
| 25 : | "PGchoicemacros.pl", | ||
| 26 : | "PGanswermacros.pl", | ||
| 27 : | "PGgraphmacros.pl", | ||
| 28 : | "PGnumericalmacros.pl", | ||
| 29 : | "PGstatisticsmacros.pl" | ||
| 30 : | ); | ||
| 31 : | |||
| 32 : | TEXT(beginproblem()); | ||
| 33 : | $showPartialCorrectAnswers = 1; | ||
| 34 : | |||
| 35 : | $n = random(150, 400, 25); | ||
| 36 : | $m = random(5*int($n*.05), 5*int($n*.065), 5); | ||
| 37 : | |||
| 38 : | $z = ($n - .5 - ($m-1)*3.5) * sqrt(6/17.5)/sqrt($m-1); | ||
| 39 : | |||
| 40 : | $ans = 1 - uprob($z); | ||
| 41 : | |||
| 42 : | BEGIN_TEXT | ||
| 43 : | A die is continuously rolled \($m-1\) times. What is the probability that the total sum of all rolls does not exceed \($n.\)? $BR | ||
| 44 : | |||
| 45 : | \{ans_rule(20)\} | ||
| 46 : | |||
| 47 : | END_TEXT | ||
| 48 : | |||
| 49 : | ANS(num_cmp($ans, tol=> .01)); | ||
| 50 : | |||
| 51 : | ENDDOCUMENT(); # This should be the last executable line in the problem. | ||
| 52 : |
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |