[npl] / trunk / NationalProblemLibrary / UVA-Stat / setStat212-Homework04 / stat212-HW04-08.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/UVA-Stat/setStat212-Homework04/stat212-HW04-08.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 451 - (download) (annotate)
Tue Jul 3 21:36:52 2007 UTC (5 years, 10 months ago) by jjholt
File size: 1442 byte(s)
Added stat problems.  Tags to be fixed soon.

    1 ## DESCRIPTION
    2 ##  Statistics: Probability
    3 ## ENDDESCRIPTION
    4 
    5 ## KEYWORDS('statistics', 'probability')
    6 ## naw tagged this problem.
    7 
    8 ## DBchapter('Probability')
    9 ## DBsection()
   10 ## Date('6/10/2005')
   11 ## Author('Nolan A. Wages')
   12 ## Institution('UVA')
   13 ## TitleText1('Statistics for Management and Economics')
   14 ## EditionText1('6')
   15 ## AuthorText1('Keller, Warrack')
   16 ## Section1()
   17 ## Problem1()
   18 
   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 "PGnumericalmacros.pl",
   28 "PGstatisticsmacros.pl",
   29 "PGauxiliaryFunctions.pl"
   30 );
   31 
   32 
   33 
   34 
   35 TEXT(beginproblem());
   36 $showPartialCorrectAnswers = 1;  # Change to 0 to shut off separate answer display.
   37 ## install_problem_grader(~~&std_problem_grader); # Uncomment to turn off partial credit.
   38 
   39 
   40 $b = random(20,30,1);
   41 $c = random(10,20,1);
   42 $e = .01*$b;
   43 $f = .01*$c;
   44 
   45 BEGIN_TEXT
   46 $PAR
   47 A financial analyst has determined that there is a $b$PERCENT
   48 probability that a mutual fund will outperform the market over
   49 a 1-year period provided that it outperforms the market the
   50 previous year.  If only $c$PERCENT of mutual funds outperform
   51 the market during any year, what is the probability that a
   52 mutual fund will outperform the market 2 years in a row?
   53 $PAR
   54 Probability = \{ans_rule(15)\}
   55 
   56 $BR
   57 
   58 END_TEXT
   59 
   60 &ANS(num_cmp($e*$f));
   61 
   62 ENDDOCUMENT();       # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9