This page has links to lecture slides and MATLAB codes for solutions to one-dimensional problems using the finite-difference and the finite-volume methods.