I'm following the article at http://www.paykin.info/irina/project_2.jsp Finite Difference method.
How to interpret this one? How to convert this to pseudo code? $$u(i,j+1) = 2u(i,j) + \left(\frac{k}{h}\right)^2[u(i+1,j) - 2u(i,j) + u(i-1,j)] - u(i,j-1)$$
Assuming the ff given values (Im not sure if values are possible).
Initial Condition:
u(i,0)=sin(i)
du(i,0)/dt=0
Boundary Condition:
u(0,j)=0
u(95,j)=0
dt=1
dx=5
What is the result when t=5.