Perhaps
this is a bug that has been fixed that we haven't updated, but here is
the problem: it seems that webwork successfully generates the images,
but when building the webpage it places the images in the wrong
locations on the webpage.
Here is a specific example:
DOCUMENT();
loadMacros(PG.pl, PGbasicmacros.pl, PGchoicemacros.pl, PGanswermacros.pl, PGauxiliaryFunctions.pl );
TEXT(beginproblem());
BEGIN_TEXT
Find the amount \( A \) in an account after \( t \) years if
\[
\frac{dA}{dt} = 0.12A
\]
where \( A(0) = 5250 \)
$PAR
\( A(t) \) = \{ ans_rule(15) \}
$PAR
END_TEXT
ANS(fun_cmp("5250* exp(0.12*t)", var=>['t']));
ENDDOCUMENT();
What is displayed on my screen in image mode (with the tex converted to images):
Find the amount \( A \) in an account after \( t \) years if
\[
A(t)
\]
where \( A(0) = 5250 \)
$PAR
\( A(t) \) = \{ ans_rule(15) \}
$PAR
END_TEXT
Bizarre. Now, the amazing thing is that the following displays correctly:
BEGIN_TEXT
Find the amount \( A \) in an account after \( t \) years if
\[
\frac{dA}{dt} = A(0.12)
\]
where \( A(0) = 5250 \)
$PAR
\( A(t) \) = \{ ans_rule(15) \}
$PAR
END_TEXT
Everything displays correctly in the other display modes, but not in image mode.
Any ideas?
<| Post or View Comments |>
|