[npl] / trunk / NationalProblemLibrary / UVA-FinancialMath / setFinancialMath-Sect10-AlgebraPrereqs / math114-0-20.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

# View of /trunk/NationalProblemLibrary/UVA-FinancialMath/setFinancialMath-Sect10-AlgebraPrereqs/math114-0-20.pg

Wed Oct 12 19:45:41 2005 UTC (7 years, 8 months ago) by gage
File size: 1191 byte(s)
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.

    1 ## DESCRIPTION
2 ##  Financial mathematics: algebra prerequisites
3 ## ENDDESCRIPTION
4
5 ## KEYWORDS('financial mathematics', 'algebra')
6 ## JJH tagged this problem.
7
8 ## DBsubject('Financial Mathematics')
9 ## DBchapter('Introduction to Interest')
10 ## DBsection('Algebra Prerequisites')
11 ## Date('5/22/2005')
12 ## Author('Jeff Holt')
13 ## Institution('UVA')
14 ## TitleText1('Financial Mathematics')
15 ## EditionText1('1')
16 ## AuthorText1('Holt')
17 ## Section1('1.0')
18 ## Problem1()
19
20 DOCUMENT();        # This should be the first executable line in the problem.
21
23 "PG.pl",
24 "PGbasicmacros.pl",
25 "PGchoicemacros.pl",
27 "PGauxiliaryFunctions.pl",
29 );
30
31 TEXT(beginproblem());
32 $showPartialCorrectAnswers = 1; 33 34$A = random(2,12,1);
35 $B = random(2,12,1); 36$C = random(2,12,1);
37 $D = random(2,12,1); 38$E = random(2,12,1);
39
40 TEXT(EV2(<<EOT));
41 Find all values of  $$x$$ that satisfy the equation
42  $A = \frac{B x + C}{D x + E}.$
43 List the values below, separated by commas.
44 $PAR 45 Values of $$x$$ = \{ans_rule(25) \} 46$BR
47 EOT
48
49 $ans = ($C-$A*$E)/($A*$D-$B); 50 ANS(num_cmp($ans, tol=>.001));
51
52
53 ENDDOCUMENT();        # This should be the last executable line in the problem.