Integral calculator (with source code)