But he did make one contribution to applied mathematics of lasting importance: he was the first person to deduce a law of nature from a deeper law by using calculus as a logical engine. Just as Maxwell would do with electricity and magnetism two centuries later, Fermat translated a hypothetical law of nature into the language of calculus, started the engine, and fed the law in, and out popped another law, a consequence of the first one. In so doing, Fermat, the accidental scientist,