Question: python programming language and i need answers to only question 4 and 5. 3. Compute the sum of the even numbers from n=2 to 1,000.
3. Compute the sum of the even numbers from n=2 to 1,000. 1000 neven n=2 4. Perform numerical integration of the function f(x)=sin(x) over the interval o to pi/2. Use Simpson's 1/3 rule with n=32, 64, and 128 intervals. Report the solutions and the true errors for each n. 5. Perform Romberg integration on the solutions from 4. Report the solution and the true error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
