Question

4. Compare the result of problem 1(iii) with a numerical approach. Compute 2 cases for the numerical approach: Divide the grid into (a) 5 cm grid spaces and (b) 10 cm

grid spaces and solve the governing equation using the numerical approach. Note that you will have to choose a numerical time step to ensure numerical "stability". Make sure you choose a value that Ax² satisfies this relationship: At <. Compare the numerical schemes with two different grids with the analytical solution in 1(iii) by plotting C vs x for each solution at t=100 s and comment on how well the numerical solution matches the analytical solution. [5 pts]

Fig: 1