[rochester] / trunk / rochester_problib / setAlgebra10QuadraticEqns / SA2volume.pg Repository:
ViewVC logotype

View of /trunk/rochester_problib/setAlgebra10QuadraticEqns/SA2volume.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (download) (annotate)
Fri Mar 21 21:03:25 2003 UTC (10 years, 2 months ago) by apizer
File size: 849 byte(s)
new files

    1 ##DESCRIPTION
    2 ##  Given the surface area of a sphere, find its volume.
    3 ##ENDDESCRIPTION
    4 ##LEVEL OF DIFFICULTY('easy')
    5 ##KEYWORDS('algebra', 'word problem', 'quadratic')
    6 
    7 DOCUMENT();        # This should be the first executable line in the problem.
    8 
    9 loadMacros(
   10 "PG.pl",
   11 "PGbasicmacros.pl",
   12 "PGchoicemacros.pl",
   13 "PGanswermacros.pl",
   14 "PGauxiliaryFunctions.pl"
   15 );
   16 
   17 TEXT(&beginproblem);
   18 $showPartialCorrectAnswers = 1;
   19 
   20 $Area = random(20,209,1);
   21 
   22 
   23 $ans = (.25*$Area)**(3/2)*$PI*(4/3);
   24 
   25 BEGIN_TEXT;
   26 Given that the surface area of a sphere is $Area \(\pi\) cm\(^2\),
   27 find its volume.
   28 $BR
   29 $BR
   30 Note:  Your answer must be a number.  No arithmetic operations are allowed.
   31 $BR
   32 $BR
   33 The volume of the sphere is  \{ans_rule(10)\} cm\(^3\).
   34 END_TEXT;
   35 
   36 &ANS(strict_num_cmp($ans));
   37 
   38 
   39 ENDDOCUMENT();        # This should be the last executable line in the problem.
   40 

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9