Examples of using c programs to calculate complex maths equations