The Science of Submarines