% Solve rest of grid
for j = 3:m
for i = 2:n-1
u(i,j)=((u(i-1,j-1)-2*u(i,j-1)+u(i+1,j-1))/dx^2-...
((-2*u(i,j-1)+u(i,j-2))/dt^2))*dt^2;
end
end
figure(1)
surfc(t,x,u)
shading flat
Goodnight! Im sendin stuff 2 sumone so im leavin dis muthafooka pc on ovanight. I see u afta skoo 2marrow, which may b about 2:20pm or maybe 3:15.. dunno da time wen imma get home. So i talk 2 yall 2marrow! *wish me luck.. i still gotta get my game up fo dis grl!. im workin on it wid her*
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.