differentiation: Numerical Differentiation with Finite Differences.

View source: R/differentiation.R

differentiationR Documentation

Numerical Differentiation with Finite Differences.

Description

This function allows to approximate the derivative of a function by the finite differences method.

Usage

differentiation(x, fx)

Arguments

x

A numeric vector with the x values.

fx

A numeric vector with the f(x) values.

Details

Numerical differentiation is a method of approximating the derivative of a function f at particular value x.

Examples

x <- c(0.0, 0.2, 0.4)
fx <- c(0.00000, 0.74140, 1.3718)
differentiation(x, fx)

RISCA documentation built on March 31, 2023, 11:06 p.m.

Related to differentiation in RISCA...