Intergral Program in C Programming

Okay, i was given an assignment to write an Intergral Program in C.

http://www.egr115.com/prog_ec01soln.exe

This is what it is suppose to look like and this is the assignment.

http://www.egr115.com/prog_ec01_integrals.pdf

If someone could help me on this, I would appreciate it because I am completely lost.