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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here