nag_cubic_roots (c02akc) Example Program Results


 Roots of cubic equation             Error estimates
                                   (machine-dependent)

 z =    1.00000    0.00000*i         2.37922e-15
 z =   -2.00000    3.00000*i         3.08789e-15
 z =   -2.00000   -3.00000*i         3.08789e-15