  The dynamical Casimir effect for a massless scalar field in 1+1-dimensions is
studied numerically by solving a system of coupled first-order differential
equations. The number of scalar particles created from vacuum is given by the
solutions to this system which can be found by means of standard numerics. The
formalism already used in a former work is derived in detail and is applied to
resonant as well as off-resonant cavity oscillations.
