This page contains an ebeded Rebol program to solve a problem of the form f(x) = 0 using the Newton Raphson method.
You should be aware of the Syntax of operators in REBOL and the lack of precedence of operators (if in doubt .... read the Manual!)
For example the function
f(x) = x^3 + 4 shoud be entered as : (x ** 3) + 4Its derivative
df(x)/dx = 3x^2 should be entered as : 3 * (x ** 2)
sin x is equivilent to sine/radians x
cos x is equivilent to cosine/radians x
tan x is equivilent to tangent/radians x
sqr x is equivilent to square-root x
![]()