/*AIM: TO EVALUATE THE INTEGRAL OF ANY FUNCTION USING a)TRAPEZOIDAL RULE b)SIMPSON'S 1/3 RULE c)SCILAB INBUILT FUNCTION d)SIMPSON'S 3/8 RULE AUTHOR: VISHU SAINI BSC PHYSICS HONS SEC A 2ND YEAR
I have created functions for each of the above methods. Steps to use the program: i) Redefine the function in the beginning ii) Call any of the functions to evaluate the integral