 In 1798, he was given a full professorship in mechanical engineering at Erlangen.He taught there until 1804 and he subjected the 15-year-old Georg Ohm to a thorough examination of his knowledge of mathematics.Ohm and his younger brother were instructed in mathematics by their father.