isolve: Interval Solve

Description Usage Arguments Examples

View source: R/isolve.R

Description

Find the x that makes f(x) = target

Usage

1
isolve(f, target, from = 0, to = 10000, steps = 10, runs = 20)

Arguments

f

a function of 1 variable

target

the desired output value

from

start of search interval (default 0)

to

end of search interval (default 10000)

steps

number of discrete steps in search interval (default 10)

runs

number of recursive calls (default 20)

Examples

1
isolve(sqrt, 17.42)

Emilostuff/dtuR documentation built on Dec. 17, 2021, 6:29 p.m.