Game Development Reference

In-Depth Information

Figure 7-2. Euler integration comparison

Zooming in on this graph allows you to see the error in the Euler approximation. This

is shown in
Figure 7-3
.

Figure 7-3. Euler error

Table 7-1
shows the numerical values of speed versus time for the range shown in

Figure 7-3
. Also shown in
Table 7-1
is the percent difference, the error, between the

exact solution and the Euler solution at each time step.