@@ -69,12 +69,8 @@ Context("Numeric");
6969 "a curve decreasing with decreasing slope from top left to " .
7070 "bottom right of the graph",
7171 "a horizontal line through the center of the graph",
72- "a curve starting at the bottom left of the graph, reaching " .
73- "the top of the graph mid-way across the x-range, and then " .
74- "decreasing back to zero at the right end of the graph",
75- "a curve starting at the top right of the graph, reaching the " .
76- "bottom of the graph mid-way across the x-range, and then " .
77- "increasing back to the top right corner of the graph" );
72+ "a curve which starts at zero, increases to a peak and then decreases back to zero",
73+ "a curve which starts at the top left, decreases for a bit and then increases to the top right" );
7874
7975for (my $i=0; $i<@func; $i++ ) {
8076 $graphs[$i] = init_graph( 0,0,1,1,size=>[100,100] ); ## no axes or labels
@@ -123,7 +119,7 @@ $showPartialCorrectAnswers = 1;
123119
124120foreach $i (0..8) {
125121 $fig[$i] = image(insertGraph($graphs[$shuff[$i]]), height=>100, width=>100, tex_size=>250,
126- extra_html_tags=>' alt="' . $gdesc[$shuff[$i]] . '"' );
122+ alt=>" $gdesc[$shuff[$i]]" );
127123}
128124
129125Context()->texStrings;
@@ -204,8 +200,7 @@ if ( @cor3 > 1 ) {
204200}
205201
206202Context()->texStrings;
207- SOLUTION(EV3(<<'END_SOLUTION'));
208- $PAR SOLUTION $PAR
203+ BEGIN_SOLUTION
209204
210205Because \( $descr[$f1]\) for \(x < -$a\), the first segment must be
211206$pl1 $ans1. Similarly, because \( $descr[$f2]\) for \(-$a < x < $a\),
@@ -219,35 +214,3 @@ Context()->normalStrings;
219214
220215;
221216ENDDOCUMENT();
222-
223-
224-
225- \{ begintable(3) \}
226- \{ row( "${BBOLD}1.$EBOLD" .
227- image(insertGraph($graphs[$shuff[0]]), height=>100, width=>100,
228- extra_html_tags=>'alt="' . $gdesc[$shuff[0]] . '"'),
229- "${BBOLD}2.$EBOLD" .
230- image(insertGraph($graphs[$shuff[1]]), height=>100, width=>100,
231- extra_html_tags=>'alt="' . $gdesc[$shuff[1]] . '"'),
232- "${BBOLD}3.$EBOLD" .
233- image(insertGraph($graphs[$shuff[2]]), height=>100, width=>100,
234- extra_html_tags=>'alt="' . $gdesc[$shuff[2]] . '"') ) \}
235- \{ row( "${BBOLD}4.$EBOLD" .
236- image(insertGraph($graphs[$shuff[3]]), height=>100, width=>100,
237- extra_html_tags=>'alt="' . $gdesc[$shuff[3]] . '"'),
238- "${BBOLD}5.$EBOLD" .
239- image(insertGraph($graphs[$shuff[4]]), height=>100, width=>100,
240- extra_html_tags=>'alt="' . $gdesc[$shuff[4]] . '"'),
241- "${BBOLD}6.$EBOLD" .
242- image(insertGraph($graphs[$shuff[5]]), height=>100, width=>100,
243- extra_html_tags=>'alt="' . $gdesc[$shuff[5]] . '"') ) \}
244- \{ row( "${BBOLD}7.$EBOLD" .
245- image(insertGraph($graphs[$shuff[6]]), height=>100, width=>100,
246- extra_html_tags=>'alt="' . $gdesc[$shuff[6]] . '"'),
247- "${BBOLD}8.$EBOLD" .
248- image(insertGraph($graphs[$shuff[7]]), height=>100, width=>100,
249- extra_html_tags=>'alt="' . $gdesc[$shuff[7]] . '"'),
250- "${BBOLD}9.$EBOLD" .
251- image(insertGraph($graphs[$shuff[8]]), height=>100, width=>100,
252- extra_html_tags=>'alt="' . $gdesc[$shuff[8]] . '"') ) \}
253- \{ endtable() \}
0 commit comments