Razor Labs interview question

a programming question, 2 linear algebra questions and 2 calculus questions