Mathematics · also Computer engineering, Research methods
Simulation and time stepping
A simulation steps a model of a system forward in time. Euler's method is the simplest approach: use the current rate of change to estimate the state a short time step later, then repeat. Every model rests on assumptions, so engineers verify that the code solves the equations correctly and separately validate that the equations describe reality well enough. The step size matters. A step that is too large can make a simulation inaccurate or even unstable, with values that grow without limit, so engineers check that results stop changing when the step is made smaller.
Why it mattersSimulating a robot joint before building it lets a team try many controller settings safely and cheaply.