Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a python code to estimate the integral of the following function from a=input, b=input with n=input using Simpson's 1/3 method. Don't using import f(x)

image text in transcribed
Write a python code to estimate the integral of the following function from a=input, b=input with n=input using Simpson's 1/3 method. Don't using import f(x) = 0.2 + 25x 200x + 675x? - 900x* + 400x numpy Note: a &b must float not int Write the program to estimate the integration using Eq. (5.1) and Eq. (5.2) (5.1) I= 2n f(x0) +45(X1) + S(x2) (.x2)+48 (23) + S(x4) + 2h 6 6 +...+2h S(Xn-2) +45 (XR-1) + S (xx) 6 R-1 (x0) +4 f(x) +2 S(x) + f(x) i=1,3,5 1 = (b-a) j=2,4,6 3n (5.2)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions