[npl] / trunk / NationalProblemLibrary / UVA-FinancialMath / setFinancialMath-Sect10-AlgebraPrereqs / math114-0-22.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/UVA-FinancialMath/setFinancialMath-Sect10-AlgebraPrereqs/math114-0-22.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (view) (download)

1 : gage 5 ## 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 :    
22 :     loadMacros(
23 :     "PG.pl",
24 :     "PGbasicmacros.pl",
25 :     "PGchoicemacros.pl",
26 :     "PGanswermacros.pl",
27 :     "PGauxiliaryFunctions.pl"
28 :     );
29 :    
30 :     TEXT(beginproblem());
31 :     $showPartialCorrectAnswers = 1;
32 :    
33 :     $x=non_zero_random(-4,4,1);
34 :     $y=non_zero_random(-4,4,1);
35 :     $b1 = -$x + $y ;
36 :     $b2 = 4*$x - 3*$y;
37 :    
38 :     BEGIN_TEXT
39 :     Use the substitution method to solve the system
40 :     \[
41 :     \begin{array}{l}
42 :     -x+y = $b1, \\
43 :     4x-3y = $b2. \\
44 :     \end{array}
45 :     \]
46 :     $BR
47 :     Your answer is
48 :     $BR
49 :     \(x=\) \{ans_rule(25) \}
50 :     $BR
51 :     \(y=\) \{ans_rule(25) \}
52 :     $BR
53 :     END_TEXT
54 :    
55 :     $ans1 = $x;
56 :     $ans2 = $y;
57 :    
58 :     ANS(num_cmp($ans1));
59 :     ANS(num_cmp($ans2));
60 :    
61 :     ENDDOCUMENT(); # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9