mDerivs: Manipulate Applet for Displaying Functions

Description Usage Arguments Details Value Author(s) Examples

Description

This applet displays a plot of a function, its derivative, and its antiderviative.

Usage

1
mDerivs(expr, xlim=c(0,10), ...) 

Arguments

expr

a mathematical expression. See mosaic D.

xlim

The range of the dependent variable.

...

additional arguments to expr

Details

Displays a function defined by expr, along with the derivative and integral of that function. Allows the user to see how those three functions are related by slope and by area, visually. The user may manipulate the position of x (xpos) and the point at which the integral is calculated from (from). The user may also turn off the display of the derivative and integral plots with the corresponding checkboxes, if desired.

Value

A function.

Author(s)

Daniel Kaplan (kaplan@macalester.edu) and Andrew Rich (andrew.joseph.rich@gmail.com)

Examples

1
2
3
4
5
## Not run: 
mDerivs((cos(x))~x, xlim = range(0, 10))
mDerivs(sin(exp(x))~x, xlim = range(-2, 3))

## End(Not run)

mosaicManip documentation built on May 2, 2019, 5:48 p.m.