21.1 Case Study: MCQ
We are going to use R code to generate HTML or LaTeX to produce multiple-choice questions such as
21.1.1 Pop Quiz!
What is the derivative of f(x)=1+2cos(3πx+4)?
- f′(x)=6πsin(3πx+4)
- f′(x)=−6πsin(3πx+4)
- f′(x)=24πsin(3πx+4)
- f′(x)=−24πsin(3πx+4)

A whisker plot
As developers, we may be asking ourselves:
- What are the expressions?
- What are the symbols?
- Will we have to quote inputs from the user (math teacher)?