\input{smartass.tex}
\begin{document}

%%BEGIN DEF
%definition of variables/modules used
#<DefiniteIntegralBetweenGraphModule v1;#>
%%END DEF
 
%%BEGIN QUESTION
Find the area between the curve \ensuremath{y = #<v1.question#>}  and the x-axis over the interval #<v1.x1;#> \le x \le #<v1.x2;#>.
%%END QUESTION
%%BEGIN SOLUTION
Function graph:\\
#<v1.graph;#> \\
\\
The area is given by:\\
#<v1.solution;#> \\
%%END SOLUTION
%%BEGIN SHORTANSWER
#<v1.shortanswer;#> \\
%%END SHORTANSWER

\end{document}