inscribed_circle: Create a data frame for a circle marking the curvature of a...

View source: R/inscribed_circle.R

inscribed_circleR Documentation

Create a data frame for a circle marking the curvature of a function.

Description

Create a data frame for a circle marking the curvature of a function.

Usage

inscribed_circle(ftilde, x0 = 0)

Arguments

ftilde

A tilde expression defining a function

x0

The value for the input at which the curvature is to be calculated.

Value

inscribed_circle() return a data frame with x and y components describing the inscribed circle located at the point $(x_0, f(x_0))$. Plot this with gf_path(y ~ x) curvature_function() returns a function that gives the curvature of the specified function for any input $x$. It's much like D() in the way it is used.


mosaicCalc documentation built on Sept. 15, 2022, 9:06 a.m.