Example description

nag_ode_ivp_rk_step_revcomm (d02pgc) Example Program Results

 Calculation with tol =  1.0e-05
    t         y1        y2
  0.000     0.0000     1.0000
  0.100     0.0998     0.9950
  0.200     0.1987     0.9801
  0.300     0.2955     0.9553
  0.400     0.3894     0.9211
  0.500     0.4794     0.8776
  0.600     0.5646     0.8253
  0.700     0.6442     0.7648
  0.800     0.7174     0.6967
  0.900     0.7833     0.6216
  1.000     0.8415     0.5403
  1.100     0.8912     0.4536
  1.200     0.9320     0.3624
  1.300     0.9636     0.2675
  1.400     0.9854     0.1700
  1.500     0.9975     0.0707
Component  2 has a root at t =  1.5708
  1.600     0.9996    -0.0292
  1.700     0.9917    -0.1288
  1.800     0.9738    -0.2272
  1.900     0.9463    -0.3233
  2.000     0.9093    -0.4161
  2.100     0.8632    -0.5048
  2.200     0.8085    -0.5885
  2.300     0.7457    -0.6663
  2.400     0.6755    -0.7374
  2.500     0.5985    -0.8011
  2.600     0.5155    -0.8569
  2.700     0.4274    -0.9041
  2.800     0.3350    -0.9422
  2.900     0.2392    -0.9710
  3.000     0.1411    -0.9900
  3.100     0.0416    -0.9991
Component  1 has a root at t =  3.1416
  3.200    -0.0584    -0.9983
  3.300    -0.1577    -0.9875
  3.400    -0.2555    -0.9668
  3.500    -0.3508    -0.9365
  3.600    -0.4425    -0.8968
  3.700    -0.5298    -0.8481
  3.800    -0.6119    -0.7910
  3.900    -0.6878    -0.7259
  4.000    -0.7568    -0.6536
  4.100    -0.8183    -0.5748
  4.200    -0.8716    -0.4903
  4.300    -0.9162    -0.4008
  4.400    -0.9516    -0.3073
  4.500    -0.9775    -0.2108
  4.600    -0.9937    -0.1122
  4.700    -0.9999    -0.0124
Component  2 has a root at t =  4.7124
  4.800    -0.9962     0.0875
  4.900    -0.9825     0.1865
  5.000    -0.9589     0.2837
  5.100    -0.9258     0.3780
  5.200    -0.8835     0.4685
  5.300    -0.8323     0.5544
  5.400    -0.7728     0.6347
  5.500    -0.7055     0.7087
  5.600    -0.6313     0.7756
  5.700    -0.5507     0.8347
  5.800    -0.4646     0.8855
  5.900    -0.3739     0.9275
  6.000    -0.2794     0.9602
  6.100    -0.1822     0.9833
  6.200    -0.0831     0.9965
Component  1 has a root at t =  6.2832

Cost of the integration in evaluations of f is    356