FunctionSlopePlot - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Student[Precalculus]

 FunctionSlopePlot
 plot successive secant line approximations to the tangent line

 Calling Sequence FunctionSlopePlot(f, pt, opts)

Parameters

 f - algebraic expression in at most one variable pt - constant or expression of the form name=constant, where name is the indeterminate in f opts - (optional) equation(s) of the form option=value, where option is one animation, functionoptions, limitlineoptions, limitpointoptions, lineoptions and pointoptions; specify output options

Description

 • The FunctionSlopePlot(f, pt) command displays a plot that demonstrates the estimation of a tangent line using successive secant approximations.
 • The optional parameters opts specify the desired options for the resulting plot.  The available options are:
 animation = true/false
 Specifies whether to animate the plot. By default, this is set to true.
 functionoptions = list
 Specifies the plot options for f.
 limitlineoptions = list
 Specifies the plot options for the tangent line.
 limitpointoptions = list
 Specifies the plot options for the point pt.
 lineoptions = list
 Specifies the plot options for the secant lines.
 pointoptions = list
 Specifies the plot options for the point at which the secant meets f.
 caption = anything
 A caption for the plot.
 The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption, see plot/typesetting.
 • For information on including additional plot option(s), see the plot help page.
 • For information on how to change the default colors, see the Student [SetColors] help page.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{Precalculus}\right]\right):$
 > $\mathrm{FunctionSlopePlot}\left({x}^{3}+3{x}^{2}+x-3,x=2\right)$

To play the following animation in this help page, right-click (Control-click, on Macintosh) the plot to display the context menu.  Select Animation > Play.

 > $\mathrm{FunctionSlopePlot}\left({x}^{2},x=2,'\mathrm{view}'=\left[-10..10,-10..10\right],'\mathrm{animation}'='\mathrm{true}','\mathrm{pointoptions}'=\left['\mathrm{color}'=\mathrm{blue}\right]\right)$

 See Also