powered by
bisection(f, a, b, tol = 0.001, m = 100)
a
b
tol
m
goldsect
gradient
hillclimbing
newton
sa
secant
f <- function(x) { x^3 - 2 * x^2 - 159 * x - 540} bisection(f, 0, 10)
Run the code above in your browser using DataLab