Question: The inner loop in the demoFTCS code is for i=2:nx-1 u0) = r*ugld(i-1) + r2*yold) + r*yold+1); end Explain why the range for index i

The inner loop in the demoFTCS code is for i=2:nx-1 u0) = r*ugld(i-1) + r2*yold) + r*yold+1); end Explain why the range for index i is 2:nx-1 and not 1:nx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
