mynewt: Basic Newton Raphson

Description Usage Arguments Value Examples

View source: R/mynewt.R

Description

Basic Newton Raphson

Usage

1
mynewt(x0, delta = 0.001, f, fdash)

Arguments

x0

initial value

delta

increment in x

f

the function to find the derivative of

fdash

the first derivative

Value

a plot with the segments of the NR technique

Examples

1
## Not run: mynewt(10,f=function(x) x^2-5*x +6, fdash= function(x) 2*x -5)

MATHSTATSOU/Intro2MLR documentation built on Dec. 11, 2020, 9:01 p.m.