Horner Examples#

This page demonstrates the horner directive for visualizing Horner’s method (synthetic division).

Basic Example#

Fig. 16 Complete Horner scheme for evaluating the polynomial at x=1.#

Different Values#

Evaluate at x = 2#

Fig. 17 Horner’s method at x=2.#

Evaluate at x = -1#

Fig. 18 Horner’s method at x=-1.#

Stage-by-Stage (Tutor Mode)#

Stage 1#

Fig. 19 First step in tutor mode.#

Stage 3#

Fig. 20 Third step in tutor mode.#

Stage 6#

Fig. 21 Sixth step in tutor mode.#

Complete (Stage 12)#

Fig. 22 Complete tutor mode (all steps shown).#

Different Alignments#

Left Aligned#

Fig. 23 Scheme aligned to the left.#

Center Aligned (default)#

Fig. 24 Scheme centered (this is the default).#

Right Aligned#

Fig. 25 Scheme aligned to the right.#

Custom Width#

50% Width#

Fig. 26 Horner scheme with 50% width.#

Fixed 400px Width#

Fig. 27 Horner scheme with fixed 400px width.#

Different Polynomials#

Quadratic#

Fig. 28 Quadratic polynomial.#

Higher Degree#

Fig. 29 Fifth-degree polynomial.#