concept Euler in category python
appears as: Euler, Euler

This is an excerpt from Manning's book Math for Programmers: 3D graphics, machine learning, and simulations with Python.
Euler’s method is merely an approximation of the integral, and in this application, it’s analogous to the Riemann sums from chapter 8. It is possible to calculate the exact positions of the asteroids and of the spaceship over time, and I conclude the chapter with a brief comparison of the Euler’s method results and the exact solutions.
Figure 9.5: Points on the object’s trajectory according to our calculation with Euler’s method
![]()