[npl] / trunk / NationalProblemLibrary / ma112DB / set9 / sw6_2_23.pg Repository:
ViewVC logotype

Annotation of /trunk/NationalProblemLibrary/ma112DB/set9/sw6_2_23.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6 - (view) (download)

1 : gage 5 #DESCRIPTION
2 :     ## Algebra problem: Natural Exponential Functions
3 :     ##ENDDESCRIPTION
4 :    
5 :     ##KEYWORDS('algebra', 'natural exponential function')
6 :     ## tsch tagged and PAID on 12-12-2003
7 :    
8 :     ## DBsubject('Algebra')
9 :     ## DBchapter('Exponential and Logarithmic Functions')
10 :     ## DBsection('The Natural Exponential Function')
11 :     ## Date('6/3/2002')
12 :     ## Author('')
13 :     ## Institution('')
14 :     ## TitleText1('College Algebra')
15 :     ## EditionText1('3')
16 :     ## AuthorText1('Stewart, Redlin, Watson')
17 :     ## Section1('6.2')
18 :     ## Problem1('23')
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 :     $p=random(100,1000,5);
34 :     $a=random(10,50,5);
35 :     $r=$a/100;
36 :    
37 :     BEGIN_TEXT
38 :     The population of the world in 1987 was 5 billion and the relative
39 :     growth rate was estimated at 2 percent per year. Assuming that the world
40 :     population follows an exponential growth model, find the projected world
41 :     population in 1995.
42 :     $BR
43 :     Your answer is \{ans_rule(20) \} billion
44 :     $BR
45 :     END_TEXT
46 :    
47 :     $ans1 = 5*exp(0.02*(95-87));
48 :    
49 :     ANS(num_cmp($ans1));
50 :    
51 :     ENDDOCUMENT(); # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9