An introduction to partial differential equations