Numerical calculation in a variety of programming languages