Question: numerical methods ...python code please ..use the equations the firste one as an equation the second one as a comment Assignment #5: Simpson's 1/3 Method
Assignment #5: Simpson's 1/3 Method Write a python code to estimate the integral of the following function from a-0 to b-0.8 with n-4 using Simpson's 1/3 method. $(x) = 0.2 + 25x - 200x + 675x' - 900x* + 400x Write the program to estimate the integration using Eq. (5.1) and Eq. (5.2) (5.1) I = 21 S(x) + 4 S(x) + (x2) + 2h S(x2)+48(x3) + S (x4) 6 6 + ... + 2 S (XA-2) + 4F(XR-1) + S(X) xox2 1-1.3.5 j-2.4.6 1 = (b-a) (5.2) 3n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
