Skip to content

Horner's Method

Oscar Veliz edited this page Jun 26, 2020 · 7 revisions

Horner's Method video

The video covering Horner's Method with Ruffini's Rule can be found at https://youtu.be/zEvfkSuPqWk. Example code is given in Horner.jl file, written in Julia it has Horner's Method and Ruffini's Rule with derivatives for finding roots of polynomials. You can run the program online from CodingGround. To run the program locally have Julia installed (julialang.org/) then type julia Horner.jlin the terminal in the directory where Horner.jl is saved. If you'd rather not use the terminal, use an IDE instead like Geany to run the program (change the execute option to Julia %e.jl). This method is also used in Durand-Kerner and Aberth-Ehrlich documented here.

To change the polynomial being solved update the coefficients stored here p = [-2310, 727, 382, -72, -8, 1] meaning x5 - 8x4 - 72x3 + 382x2 + 727x - 2310.

Reference links: