Design by C++ Using subroutines (VOID) write a program to perform numerical integration of f(x)=x^2*sin(x)*exp(x^2) over x=[0,Pi] having a choice of (i) rectangular rule (ii) the 1/3 Simpson’s rule...



Design by C++


Using subroutines (VOID) write a program to perform numerical integration of


     f(x)=x^2*sin(x)*exp(x^2) over x=[0,Pi] having a choice of


    (i) rectangular rule


    (ii) the 1/3 Simpson’s rule


    Divide the domain into N subsections, where N=5,10,20,40. Compare your results.



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here