Bisection Module

Functions and values

Function or value Description

tryFindRoot func accuracy lowerBound upperBound maxIter

Full Usage: tryFindRoot func accuracy lowerBound upperBound maxIter

Parameters:
    func : float -> float -
    accuracy : float -
    lowerBound : float -
    upperBound : float -
    maxIter : int -

Returns: float option

Finds the value in an interval for which a given function returns a value close to 0

func : float -> float

accuracy : float

lowerBound : float

upperBound : float

maxIter : int

Returns: float option

Example