[rochester] / trunk / rochester_problib / setGeometry3Conics / ur_geo_3_26.pg Repository:
ViewVC logotype

View of /trunk/rochester_problib/setGeometry3Conics/ur_geo_3_26.pg

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (download) (annotate)
Wed Jan 30 21:40:42 2002 UTC (11 years, 3 months ago) by apizer
File size: 986 byte(s)
new problems from MTH 140A

    1 ##DESCRIPTION
    2 ## circle with center in Q4, leading coefficient 2
    3 ##ENDDESCRIPTION
    4 
    5 ##KEYWORDS('analytic geometry', 'circle')
    6 
    7 DOCUMENT();        # This should be the first executable line in the problem.
    8 
    9 loadMacros(
   10 "PG.pl",
   11 "PGbasicmacros.pl",
   12 "PGchoicemacros.pl",
   13 "PGanswermacros.pl",
   14 "PGauxiliaryFunctions.pl"
   15 );
   16 
   17 TEXT(&beginproblem);
   18 $showPartialCorrectAnswers = 1;
   19 
   20 $k = random(1,5,1);$k4=4*$k;
   21 $h = random(1,5,1);$h4=4*$h;
   22 $r = random(1,1.4*sqrt($k**2+$h**2),1);
   23 $c = 2*($k**2+$h**2-$r**2);
   24 
   25 TEXT(EV2(<<EOT));
   26 \( 2 x^2+2 y^2+$h4 x+$k4 y +$c=0 \) is the equation of a circle with center \( (h,k) \) and radius \( r \) for:$BR
   27 $BR
   28 \( h= \)\{ans_rule(10) \}
   29 $BR
   30 EOT
   31 
   32 $ans = -$h;
   33 &ANS(std_num_cmp($ans));
   34 
   35 TEXT(EV2(<<EOT));
   36 and$BR
   37 \( k= \) \{ans_rule(10) \}
   38 $BR
   39 EOT
   40 
   41 $ans = -$k;
   42 &ANS(std_num_cmp($ans));
   43 
   44 TEXT(EV2(<<EOT));
   45 and$BR
   46 \( r= \) \{ans_rule(10) \}
   47 $BR
   48 EOT
   49 
   50 $ans =  $r;
   51 &ANS(std_num_cmp($ans));
   52 ENDDOCUMENT();        # This should be the last executable line in the problem.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9