deriv: Product Rule for Derivatives

Exercise template for computing the derivative (numeric answer) of a product function with factors of type xa and exp(b * x) at a given point c, with randomly-drawn a, b, and c.

Name:
deriv
Type:
Related:
Description:
Computing the first derivative of a product function with two factors and randomly-drawn parameters, using the product rule.
Solution feedback:
Yes
Randomization:
Random numbers
Mathematical notation:
Yes
Verbatim R input/output:
No
Images:
No
Other supplements:
No
Template:
Raw: (1 random version)
PDF:
deriv-Rmd-pdf
deriv-Rnw-pdf
HTML:
deriv-Rmd-html
deriv-Rnw-html

(Note that the HTML output contains mathematical equations in MathML, rendered by MathJax using ‘mathjax = TRUE’. Instead it is also possible to use ‘converter = “pandoc-mathjax”’ so that LaTeX equations are rendered by MathJax directly.)

Demo code:

library("exams")

set.seed(403)
exams2html("deriv.Rmd", mathjax = TRUE)
set.seed(403)
exams2pdf("deriv.Rmd")

set.seed(403)
exams2html("deriv.Rnw", mathjax = TRUE)
set.seed(403)
exams2pdf("deriv.Rnw")