Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

fax ~ CSR[A](x;-1,*;]#1) = [f (xo) + 4f (X x /2 ) + 2f (x1) + 4f (13/2) + 2f (x2) + ... +2f (Xm-1)

image text in transcribed
fax ~ CSR[A](x;-1,*;]#1) = [f (xo) + 4f (X x /2 ) + 2f (x1) + 4f (13/2) + 2f (x2) + ... +2f (Xm-1) + 4f(Xxm -1/2) + f(xm)]. b) Implement the composite Simpson's rule. Use this function to compute an approx- imated value of the integral 1(0,1) = tan (x) = 2 8(2) = 0.4412712 . . . . 7T for m = 4,8, 16,32, 64 corresponding to $ h = 2"(-2), 2"(-3), 2*(-4), 2*(-5), 2*(-6)$. Tab- ulate the corresponding quadrature errors | 1(0,1) -CSR[f]([x,-1,x,],",)|. Plot the errors against / in a log - log plot and determine the EOC ("Experimental Order of Convergence") How does it compare to the composite trapezoidal rule

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Accounting Information System

Authors: James A. Hall

7th Edition

978-1439078570, 1439078572

Students also viewed these Mathematics questions