You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OpenProblemLibrary/UCSB/Stewart5_10_2/Stewart5_10_2_30.pg
+11-15Lines changed: 11 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -17,38 +17,34 @@ DOCUMENT();
17
17
loadMacros(
18
18
"PGstandard.pl",
19
19
"MathObjects.pl",
20
+
"parserImplicitPlane.pl",
20
21
"PGcourse.pl"
21
22
);
22
23
23
-
TEXT(&beginproblem);
24
+
TEXT(beginproblem());
25
+
24
26
$showPartialCorrectAnswers = 1;
25
27
26
-
Context("Numeric");
28
+
Context("ImplicitPlane");
29
+
Context()->variables->are(x => Real, y => Real);
27
30
28
-
$ans1 = Compute("-2x+11");
29
-
$ans2 = Compute("x-1");
31
+
$ans1 = ImplicitPlane("y=-2x+11");
32
+
$ans2 = ImplicitPlane("y=x-1");
33
+
$ans = List($ans1,$ans2);
30
34
31
35
Context()->texStrings;
32
36
BEGIN_TEXT
33
37
34
38
Find an equation for each line that passes through the point (4, 3) and is tangent to the parametric curve
35
39
\[x=3t^2+1,\;\;y=2t^3+1.\]
36
-
If there is more than one answer then order your answers consecutively so lines with smaller slopes appear before lines with larger slopes. If some answer fields are not used enter $BBOLD None $EBOLD in the unused answer blanks and list them last.
37
-
38
-
$PAR
39
-
Tangent line 1: \(y\) = \{ans_rule(25)\}
40
-
41
-
$PAR
42
-
Tangent line 2: \(y\) = \{ans_rule(25)\}
40
+
If there are multiple answers then separate distinct answers with commas.
0 commit comments