Write a C program to implement Trapezoidal method. For writing a function and using it in the C program, we should declare the function in the MAIN function.
Instead its requests other program like entities — called functions in C — to get its tasks done. A function is a self contained block of statements that perform a coherent task of same kind.
Calling a function within itself makes it a endless loop. Traverse the above list and display the elements. Write a C program to implement Simpson method.
For example, the formula does not make sense for negative exponents — if n is less than 0. This unit can be invoked from other parts of a program.