example.pdf updated for new deriv and pderiv