Skip to content

Commit dbf9ec4

Browse files
authored
Merge pull request #1341 from Tanaquil18/patch-7
add alt text and long description
2 parents ec5d91c + b709905 commit dbf9ec4

File tree

1 file changed

+2
-5
lines changed
  • OpenProblemLibrary/LoyolaChicago/Precalc/Chap1Sec2

1 file changed

+2
-5
lines changed

OpenProblemLibrary/LoyolaChicago/Precalc/Chap1Sec2/Q03.pg

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TEXT(beginproblem());
4141

4242
Context("Numeric");
4343
$showPartialCorrectAnswers = 1;
44-
$graph1 = image("Q03_fig.png", width => 360, height => 226, tex_size => 700);
44+
$graph1 = image("Q03_fig.png", width => 360, height => 226, tex_size => 700, alt=>"Graph of two functions and some points on the functions.", long_description=>"Function ${BM}f${EM} starts at the origin, goes up and back down to the x-axis and then up higher and then back down to the axis again, with the two peaks at ${BM}x=2.2${EM} and ${BM}x=6.1${EM}. It hits the x-axis at ${BM}x=0${EM}, ${BM}x=4${EM}, and ${BM}x=8${EM}. Function ${BM}g${EM} is an increasing line going though the points occuring at the two peaks of ${BM}f${EM}, that is, ${BM}(2.2, f(2.2))${EM} and ${BM}(6.1,f(6.1))${EM}.");
4545

4646
@x = (0, 2.2, 4, 5.2, 6.1, 6.9, 8);
4747
@f = (0, 2.9, 0, 2.9, 4.9, 2.9, 0);
@@ -71,10 +71,7 @@ END_TEXT
7171
ANS( Compute( $ans_a )->cmp() );
7272
ANS( Compute( $ans_b )->cmp() );
7373

74-
SOLUTION(EV3(<<'END_SOLUTION'));
75-
$PAR
76-
$BBOLD SOLUTION $EBOLD
77-
$BR
74+
BEGIN_SOLUTION
7875
The average rate of change of a function \( f(x) \) over an interval \( a \leq x \leq b \) is computed using the following formula:
7976
\[ \mbox{Average Rate of Change of f(x) over } a \leq x \leq b = \frac{ \Delta f }{\Delta x} = \frac{ f(b) - f(a)}{b-a} \]
8077
$PAR

0 commit comments

Comments
 (0)