babbage% gcc -o trap-1 trap-1.c -lm babbage% trap-1 Program approximates the area under a function using the Trapezoidal Rule. Enter number of subintervals to be used: 100 The approximate area is 3.1404