Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If you are not EXPERIANT, please do not answer it Answer the question by using C language not C++ Use Dev-C++ to code and run

image text in transcribed

If you are not EXPERIANT, please do not answer it Answer the question by using C language not C++ Use Dev-C++ to code and run all of your programs (they should be properly commented). Solution of problems should contain screen shots of your program code and its outputs. Simpson's 1/3^rd rule is an extension of Trapezoidal rule where the integrand is approximated by a second order polynomial instead of a first order polynomial. For a given function f(x) the integral of f(x) over an interval [a, b] using Simpson's 1/3^rd rule is given by: integral^b_a f(x) dx = h/3 [f (x_0) + 4 sigma^infinity_n - 1_i = 1 i = odd f(x_i) + 2 sigma^n - 2_i = 2 i = even f(x_i) + f(x_n)] Where, n is the number of subintervals and h is the width of each subinterval. Write a complete C language program that implements Simpson's 1/3^rd rule to approximate the following integral: integral^8.5_1.5 x^3 cos (x) + x^3 sin (x) dx (assume n = 200)

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

=+6. How strong is communication between all parties?

Answered: 1 week ago