cubic [a0=] [a1=] [a2=] [a3=]cubic prints out the real roots of the cubic or lesser degree equation entered on the command line. Any non-specified terms are zero.
Roots are printed out as separate lines.
The GNU Scientific Library Roots of Polynomial routines are used for this.