SMS dit: Calculus and linear algebra