Skip to main content

Section 9 Graphics in Exercises

It is natural to want to write exercises that rely on graphics. For example, an exericse might produce a chart of some kind, and ask the reader to extract some information from that chart.

At present, this can be done using the same mechanism one would use to insert a graphic into a WeBWorK problem when writing regular WeBWorK problems. (And this is what is done below.) In the future, there will be a nicer option that will be able to make use of PTX's latex-image-code. This requires some WeBWorK development first, which is underway.

The graph below is a graph of \(y=f(x)\text{.}\) Use the graph to solve the equation \(f(x)=1\text{.}\)

\(x=\)

Answer

\(2\)

Solution

The graph reveals that the only solution to \(f(x)=1\) is \(x=2\text{.}\)