Computation of the behavior implied by a specified mathematical model. Agreement between a simulation and its equations is distinct from agreement between those equations and the physical system.
A numerical simulation evolves or solves a mathematical model by numerical approximation to study its predicted behavior. Its outputs combine the model assumptions with the properties of the discretization and implementation.
For the decay equation , , explicit Euler gives . If , positive values decay monotonically; if , the approximation alternates sign even though its magnitude decreases. The exact solution remains positive for positive initial data. This shows that bounded numerical output can still contain behavior absent from the model, so convergence checks and physical interpretation must accompany a simulated trajectory.

Articles by others on the same topic (2)

Computer simulation is a technique used to model the behavior of real-world systems or processes through the creation of a computerized representation. This involves using algorithms and mathematical models to simulate the interactions and dynamics of various components within a system. Key aspects of computer simulation include: 1. **Modeling**: A model is created to represent the system being studied. This can involve mathematical equations, logical frameworks, or graphical representations of the system's components and their relationships.