Consider the integral sin a da 2. Use Matlab to (a) find the numerical integration by composite trapezoid rule Tn(f) and
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the integral sin a da 2. Use Matlab to (a) find the numerical integration by composite trapezoid rule Tn(f) and
Consider the integral sin a da 2. Use Matlab to (a) find the numerical integration by composite trapezoid rule Tn(f) and composite Simposon's rule Sn(f) for different interval parti- tion, i.e. the subinterval size h is chosen as h = b. (b) calculate the error for each approximation, i.e. calculate = n a and error(n) = 1 8 ° f(a) dx – T.(191 error(n) = 1 * $(2) do – S-(0)1 fxdx Sn respectively. (c) calculate the ratio error(n) ratio(2n) = error(2n) (d) calculate the order of approximation order(2n) = log2 (ratio (2n))
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!