Trapezoidal Method C Program