Every app you use is built on mathematics and code. Let's crack them open and see how they really work.