Consider the integral sin da 2. Use Matlab to (a) find the numerical integration by composite trapezoid rule T(S) and co
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the integral sin da 2. Use Matlab to (a) find the numerical integration by composite trapezoid rule T(S) and co
Consider the integral sin da 2. Use Matlab to (a) find the numerical integration by composite trapezoid rule T(S) and composite Simposon's rule S, () 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 and error(n) = 1 ſ * (2) de OCOL error(n) = 1 ° (x) dx – S.C.1 respectively. (e) calculate the ratio error(n) ratio(2n) error(2n) (d) calculate the order of approximation order(2n) = log2 (ratio(2n)) (e) summarize all your result from (a-d) into the following table. Tn() error(n) ration) order(n) S() error(n) ration) order(n) n 1 2 4 8 16 32
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!