Processing math: 100%

 

 

 

Wave Equation in two Dimensions

If we insert this condition in Eq. (23) we arrive at a special formula for the first time step ui,1=ui,0+Δt22Δx2(ui+1,02ui,0+ui1,0). We need seemingly two different equations, one for the first time step given by Eq. (24) and one for all other time-steps given by Eq. (23). However, it suffices to use Eq. (23) for all times as long as we provide u(i,1) using ui,1=ui,0+Δt22Δx2(ui+1,02ui,0+ui1,0), in our setup of the initial conditions.