## WeBWorK Main Forum

### Re: Solutions to the Problems

by Michael Gage -
Number of replies: 0
There are several examples, but Gavin just put one up which is particularly clear:

See http://webwork.maa.org/wiki/SampleProblem2

The relevant section of the code is at the bottom of that example and
I've repeated it here. It is very important that the last line "END_SOLUTION"
is left justified and that there is nothing else on the line -- not even spaces.

 SOLUTION(EV3(<<'END_SOLUTION'));
$PAR SOLUTION$PAR
${BBOLD}Part 1$EBOLD
$BR The derivative of $$f(t) = func$$ is $$f'(t) = funcDeriv$$, so the slope of the line is $$f'(2) = m$$. Then when $$t = 2$$ we have $$f(2) = y0$$, so the equation of the line is $$y = line$$.$PAR
${BBOLD}Part 2$EBOLD
$BR This problem is clearly easy.$PAR
${BBOLD}Part 3$EBOLD
\$BR
A careful study of one WeBWorK
instructor showed that 100% of all
respondents thought this statement
was true.
END_SOLUTION



Hope this helps.

-- Mike