nag_ode_ivp_adams_roots (d02qfc) Example Program Results (User-supplied callback ftry02, first invocation.) (User-supplied callback gtry02, first invocation.) Root at 0.00000e+00 for event equation 2 with type 1 and residual 0.00000e+00 Y(1) = 0.00000e+00 Y'(1) = 1.00000e+00 Root at 1.57076e+00 for event equation 1 with type 1 and residual -5.20417e-17 Y(1) = 1.00003e+00 Y'(1) = -5.20417e-17 Root at 3.14151e+00 for event equation 2 with type 1 and residual -1.27676e-15 Y(1) = -1.27676e-15 Y'(1) = -1.00012e+00 Root at 4.71228e+00 for event equation 1 with type 1 and residual 1.67921e-15 Y(1) = -1.00010e+00 Y'(1) = 1.67921e-15 Root at 6.28306e+00 for event equation 2 with type 1 and residual 2.65066e-15 Y(1) = 2.65066e-15 Y'(1) = 9.99979e-01 Root at 7.85379e+00 for event equation 1 with type 1 and residual -7.63278e-17 Y(1) = 9.99970e-01 Y'(1) = -7.63278e-17 Root at 9.42469e+00 for event equation 2 with type 1 and residual -6.86950e-16 Y(1) = -6.86950e-16 Y'(1) = -9.99854e-01