MathematicsIntermediate

Calculus I for Programmers

Calculus I with the order of explanation reversed: you write the code first and the theorem arrives to explain why it worked. Taught in Python or C++, your choice, switchable mid course.

Contents

Calculus I in full, with the order of explanation reversed: the code comes first and the theorem explains why it works. Limits through floating point, the derivative as finite differences, the rules derived by building a symbolic differentiator, the transcendental functions, implicit differentiation and related rates, L'Hopital, curve sketching, integration as a loop you already know how to write, and hand drilling throughout, because a paper exam still asks for it.

1

Limits, via floating point

You already know how to measure the steepness of a straight line. This section takes that measurement, applies it to a curve over an interval you keep shrinking, and watches what the answers do. They crowd around a number without ever reaching it, and then, past a certain point, they fall apart entirely because of how a computer stores a decimal. The limit is the idea that explains both halves of that: what the numbers were heading for, and why no program can ever finish the journey.

0/12

The derivative as finite differences

Opens once you finish Limits, via floating point, including its quiz.

locked

Derivative rules, via a symbolic differentiator

Opens once you finish The derivative as finite differences, including its quiz.

locked

The chain rule, and a look at autodiff

Opens once you finish Derivative rules, via a symbolic differentiator, including its quiz.

locked

Derivatives of the other functions

Opens once you finish The chain rule, and a look at autodiff, including its quiz.

locked

Implicit differentiation and related rates

Opens once you finish Derivatives of the other functions, including its quiz.

locked

Optimisation as an algorithm

Opens once you finish Implicit differentiation and related rates, including its quiz.

locked

The shape of a graph, and the theorems behind it

Opens once you finish Optimisation as an algorithm, including its quiz.

locked

Limits at infinity, and L'Hopital's rule

Opens once you finish The shape of a graph, and the theorems behind it, including its quiz.

locked

Linear approximation

Opens once you finish Limits at infinity, and L'Hopital's rule, including its quiz.

locked

Riemann sums, as a for loop

Opens once you finish Linear approximation, including its quiz.

locked

The Fundamental Theorem

Opens once you finish Riemann sums, as a for loop, including its quiz.

locked

Antiderivatives and substitution

Opens once you finish The Fundamental Theorem, including its quiz.

locked

Applications

Opens once you finish Antiderivatives and substitution, including its quiz.

locked

Calculus I

Opens once every section is finished and every quiz is passed.