[npl] / trunk / NationalProblemLibrary / Rochester / setIntegrals0Theory / S05.01.AreaDistance.PTP08.pg Repository: Repository Listing bbplugincoursesdistsnplrochestersystemwww

Thu Aug 7 13:44:57 2008 UTC (4 years, 9 months ago) by gage
File size: 1363 byte(s)
``` Adding in questions written by Paul Pearson
```

```    1 ## DESCRIPTION
2 ## Calculus
3 ## ENDDESCRIPTION
4
5 ## KEYWORDS('calculus','antiderivative')
6 ## Tagged by cmd6a 5/26/06
7
8 ## DBsubject('Calculus')
9 ## DBchapter('Applications of Differentiation')
10 ## DBsection('Antiderivatives')
11 ## Date('')
12 ## Author('')
13 ## Institution('OSU')
14 ## TitleText1('')
15 ## EditionText1('')
16 ## AuthorText1('')
17 ## Section1('')
18 ## Problem1('')
19
20 ## Original: /Library/OSU/high_school_apcalc/dcrev1/prob4.pg
21
22
23
24 DOCUMENT();
25
27 "PGbasicmacros.pl",
28 "PGchoicemacros.pl",
30 "PGauxiliaryFunctions.pl"
31 );
32
33 TEXT(beginproblem());
35 \$a = random(2,6,1);
36 \$b = random(\$a+1,9,1);
37 \$c = random(2,7,1);
38 \$lin = \$c*(\$b + \$a);
39 \$const = \$a*\$b*\$c;
40
41 \$ans1 = \$a;
42 \$ans2 = \$lin - 2*\$c*\$a;
43
44 BEGIN_TEXT
45 You are driving along a country road when you suddenly notice a log
47 a distance of \(s(t) = \$lin t - \$c t^2\) feet in \(t\) seconds after you
48 hit the brakes.\$PAR
49 The log was \$const feet ahead of you when you noticed it, which unfortunately
50 wasn't soon enough.\$BR
51 At what time did you hit the log? \{ans_rule(20)\}\$BR
52 How fast were you going when you hit it? \{ans_rule(20)\}\$BR
53 Don't forget to enter the correct \{ helpLink('units') \}.
54
55
56 END_TEXT
57
58 ANS(num_cmp("\$ans1", units => 's'));
59 ANS(num_cmp("\$ans2", units => 'ft/s'));
60
61
62 ENDDOCUMENT();
```