[npl] / trunk / NationalProblemLibrary / Rochester / setAlgebra15Functions / ur_fn_1_4.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/Rochester/setAlgebra15Functions/ur_fn_1_4.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 145 - (download) (annotate)
Sun Mar 26 22:21:31 2006 UTC (7 years, 2 months ago) by jj
File size: 790 byte(s)
Initial import

    1 ##DESCRIPTION
    2 ## domain of the square root of a rational function
    3 ##ENDDESCRIPTION
    4 
    5 ##KEYWORDS('function', 'domain')
    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 $a1 = random(2,12,1);
   21 $b1 = random(2,12,1);
   22 $a2 = random(2,12,1);
   23 $b2 = random(2,12,1);
   24 
   25 TEXT(EV2(<<EOT));
   26 Find the domain of the function \( \displaystyle f(x)=\sqrt{\frac{$a1-$b1 x}{$a2+$b2 x}} \). What is the greatest value
   27 of \( x \) in the domain?$BR
   28 $BR
   29 Greatest Value\( = \)\{ans_rule(10) \}
   30 $BR
   31 EOT
   32 
   33 $ans = $a1/$b1;
   34 ANS(num_cmp($ans));
   35 
   36 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9