[npl] / trunk / NationalProblemLibrary / ASU-topics / setFinance / p10stef.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

View of /trunk/NationalProblemLibrary/ASU-topics/setFinance/p10stef.pg

Sat Jan 14 02:13:08 2006 UTC (7 years, 4 months ago) by jj
File size: 926 byte(s)
```New problems for the library.
```

```    1 ## DESCRIPTION
2 ## Applied Mathematics
3 ## ENDDESCRIPTION
4
5 ## KEYWORDS('percent', 'mathematics for business', 'algebraic expression')
6 ## Tagged by XW
7
8 ## DBsubject('Applied Mathematics')
10 ## DBsection('Finance')
11 ## Date('')
12 ## Author('')
13 ## Institution('ASU')
14 ## TitleText1('')
15 ## EditionText1('')
16 ## AuthorText1('')
17 ## Section1('')
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",
28 "PGasu.pl"
29 );
30
31 TEXT(&beginproblem);
32
33 \$b = random(5,15,1);
34
35 TEXT(EV2(<<EOT));
36 What annual rate of interest compounded annually is required to double
37 an investment in \$b years?
38 \$BR
39 Rate = \{ans_rule(15)\} \$PERCENT
40 \$BR
41 EOT
42
43 \$ans = (2**(1/\$b)-1)*100;
44 &ANS(num_cmp(\$ans));
45
46 ENDDOCUMENT();        # This should be the last executable line in the problem.
```