[npl] / trunk / NationalProblemLibrary / ma117DB / set8 / srw4_4_35.pg Repository:
ViewVC logotype

View of /trunk/NationalProblemLibrary/ma117DB/set8/srw4_4_35.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 297 - (download) (annotate)
Wed Jun 28 22:52:53 2006 UTC (6 years, 10 months ago) by jj
File size: 1092 byte(s)
Fixed some tags.

    1 #DESCRIPTION
    2 ##  Algebra problem: Exponential and logarithmic equations
    3 ##ENDDESCRIPTION
    4 
    5 ##KEYWORDS('algebra', 'logarithmic equation')
    6 
    7 ## tcao , PAID on 11-24-2003
    8 
    9 ## DBsubject('Algebra')
   10 ## DBchapter('Exponential and Logarithmic Functions')
   11 ## DBsection('Exponential and Logarithmic Equations')
   12 ## Date('6/3/2002')
   13 ## Author('')
   14 ## Institution('')
   15 ## TitleText1('Precalculus')
   16 ## EditionText1('3')
   17 ## AuthorText1('Stewart, Redlin, Watson')
   18 ## Section1('4.5')
   19 ## Problem1('33')
   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 $a=non_zero_random(-5,10,1);
   34 $b=random(2,20,1);
   35 
   36 BEGIN_TEXT
   37 Find the solution of the logarithmic equation
   38 \[
   39 \ln x=$a
   40 \]
   41 in terms of logarithms, or correct to four decimal places.
   42 $BR
   43 Your answer is
   44 $BR
   45 \(x=\) \{ans_rule(25) \}
   46 $BR
   47 END_TEXT
   48 
   49 $ans1 = exp($a);
   50 
   51 ANS(num_cmp($ans1));
   52 
   53 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9