Using the Crank-Nicolson method to approximate the wave equation ∂^2u/∂t^2=∂^2u/∂x^2, with boundary conditions 0<x<1, h=0.1 ; k=0.1 u(0,t)=u(1,t)=0 ; u(x,0)=sen(2PiX) ; ∂u/∂t=2Pisen(2Pix)
pablichenco / crank-nicolson-method-pde Goto Github PK
View Code? Open in Web Editor NEWUsing the Crank-Nicolson method to approximate the wave equation ∂^2u/∂t^2=∂^2u/∂x^2