summary:

A third order polynomial can have three events appearing in an animation at once (this is not required, but represents a maximum).

description:

The input which travels through the origin is shown in yellow. A cubic polynomial is in red. The polynomial continues its march down and to the left after a brief moment of indecision. The coefficients are all real, so the red and yellow are all in the same line.

command:

q_graph -out poly_3_origin -dir poly -box 5 -command 'q_add_n -3 -3 -3 -3 .005 .005 .005 .005 1000 | q_poly -n 3 -c 1 -n 1 -c 3 -n 0 -c -2' -color red -command 'q_add_n -3 -3 -3 -3 .005 .005 .005 .005 1000' -color yellow

equation:

Input: q ranges from (-3, -3, -,3 -,3) to (2, 2, 2, 2)

Output:

Math Tag:

polynomials

Programming Tag:

command line quaternions

q_add

q_poly