Mathematics and Physics for Programmers