Application of mechanics to biological systems