An introduction to mechanical engineering