[npl] / trunk / NationalProblemLibrary / Rochester / setAlgebra15Functions / ur_fn_1_4.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

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

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
10 "PG.pl",
11 "PGbasicmacros.pl",
12 "PGchoicemacros.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.