This document contains C++ code implementing Simpson's rule and Lagrange interpolation. It includes functions for:
1) Calculating the integral of a function using Simpson's rule
2) Filling an array with function values at points and calculating the Lagrange polynomial
3) Drawing the function graphically
The main function provides menus to call the Simpson's rule or Lagrange interpolation methods and draw the results.