Flow Traders Interview Question

Mental math calculation with integrals and decimals