From physics, the total energy for this system is called the Hamiltonian and given by H(,vF(s) ds 0 In general, a numerical scheme will not conserve the energy of the system, i.e. H will not be const...
From physics, the total energy for this system is called the Hamiltonian and given by H(,vF(s) ds 0 In general, a numerical scheme will not conserve the energy of the system, i.e. H will not be constant. Suppose however that a trapezoidal method can be modified to produce an energy-conserving scheme. In particular assume the numerical scheme has the form where W is a yet-to-be-determined function, h is the time-step, and (yjl, {vj) denote the discretized position and velocity. Using the Hamiltonian given above, show that Uj+1 F(s) ds Conclude the numerical scheme (1) conserves energy if Uj+1 F(s) ds
From physics, the total energy for this system is called the Hamiltonian and given by H(,vF(s) ds 0 In general, a numerical scheme will not conserve the energy of the system, i.e. H will not be constant. Suppose however that a trapezoidal method can be modified to produce an energy-conserving scheme. In particular assume the numerical scheme has the form where W is a yet-to-be-determined function, h is the time-step, and (yjl, {vj) denote the discretized position and velocity. Using the Hamiltonian given above, show that Uj+1 F(s) ds Conclude the numerical scheme (1) conserves energy if Uj+1 F(s) ds