Question

Know the difference between left Rectangle rule, right Rectangle rule and the trapezoidal rule. Given the...

Know the difference between left Rectangle rule, right Rectangle rule and the trapezoidal rule.

Given the data

a = 1;

b = 100;

t = a:.001:b;

y = 40*exp(2*pi*t/5) + 6.43*t - .004*t^2;

What estimates the integral of y from a to b?

(one ans: s = sum(y)*.001; )

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
close all
a = 1;
b = 100;
t = a:.001:b;
y = 40*exp(2*pi*t/5) + 6.43*t - .004*t.^2;
disp('Result by left rectangle');
s=sum(y(1:end-1))*0.001
disp('Result by right rectangle');
s=sum(y(2:end))*0.001
disp('Results by trapz');
s=trapz(t,y)

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Know the difference between left Rectangle rule, right Rectangle rule and the trapezoidal rule. Given the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • The left, right, Trapezoidal, and Midpoint Rule approximations were used to estimate f(x) dx, whe...

    The left, right, Trapezoidal, and Midpoint Rule approximations were used to estimate f(x) dx, where f is the function whose graph is shown below. The estimates were 0.7811 0.8675, 0.8632, and 0.9540, and the same number of subintervals were used in each case. (a) Which rule produced which estimate? ?1. Trapezoidal Rule estimate 2. Right-hand estimate 3. Left-hand estimate N4. Midpoint Rule estimate (b) Between which two approximations does the true value of o fa) dx lie? A. 0.8675 β...

  • The left, right, Trapezoidal, and Midpoint Rule approximations were used to estimate r(x) dx, where f...

    The left, right, Trapezoidal, and Midpoint Rule approximations were used to estimate r(x) dx, where f is the function whose graph is shown. The estimates were 0.7819, 0.8664, 0.8631, and 0.9510, and the same number of subintervals were used in each case. y=f(x) (a) Which rule produced which estimate? Ln - Rn- To- Mn- fx) dx lie? (b) Between which two approximations does the true value of (smaller value) (larger value) The left, right, Trapezoidal, and Midpoint Rule approximations were...

  • EXE #2 HB B.a Use the Trapezoidal Rule, to approximate the given integral with the specified...

    EXE #2 HB B.a Use the Trapezoidal Rule, to approximate the given integral with the specified value of n. T 7- a/2 sin(2x)dt, n 4, Show all parts of the approximating sum. t2fi 8.2 LSinotasin asin2sin 3sinn)ott 10) 3.b Find sample size n so that each of of T, within 0.01 from the exact value of the integral divergent. If it is convergent, evaluate it. 4 Determine whether the integral is convergent or EXE #2 HB B.a Use the Trapezoidal...

  • this is numerical analysis please do a and b 3. Consider the trapezoidal rule (T) and...

    this is numerical analysis please do a and b 3. Consider the trapezoidal rule (T) and Simpson's rule (S) for approximating the integral of a relatively smooth function f on an interval (a, b), for which the following error local estimates are known to hold: (6 - a)"}" (n), for some 7 € (a, b), 12 [ f(z)de –T(S) = [ f(a)der – 5(8) = f(), for some 5 € (a, b), where 8 = (b -a)/2. (a) Given a...

  • π/2 (6 3 cos x) dx 0 (a) Derive the formula for multi-segment (evenly spaced) left-hand rectangle...

    π/2 (6 3 cos x) dx 0 (a) Derive the formula for multi-segment (evenly spaced) left-hand rectangles and then use it to approximate the value of the integral with n=1; n-2; n-4 segments. Calculate the true error and relative true error for each (b) Derive the formula for multi-segment (evenly spaced) right-hand rectangles and then use it to approximate the value of the integral with n=1; n=2; n-4 segments. Calculate the true error and relative true error for each (c)...

  • please explain the difference between right and left skewed graphs, how you can tell from this...

    please explain the difference between right and left skewed graphs, how you can tell from this graph, and additionally how to calculate a percentile range for part b A middle-school teacher teaches a class of 36 pupils. She decides to plot a histogram of her students' weight (shown below) 2. 16 14 t 12 10 6 4 2 0.5 35.5 40.5 45.5 50.5 55.5 60.5 65.5 Weights (in kg)> a. (2 points) What is the skew of the weight distribution?...

  • Diagonal Difference HackerRank Pseudocode and C++: Given a square matrix, calculate the absolute difference between the...

    Diagonal Difference HackerRank Pseudocode and C++: Given a square matrix, calculate the absolute difference between the sums of its diagonals. Function Description Complete the diagonalDifference function described below to calculate the absolute difference between diagonal sums. diagonalDifference( integer: a_size_rows, integer: a_size_cols, integer array: arr) Parameters: a_size_rows: number of rows in array a_size_cols: number of columns in array a: array of integers to process Returns: integer value that was calculated Constraints -100 < = elements of the matrix < = 100...

  • Find the best predicted systolic blood pressure in the left arm given that the systolic blood...

    Find the best predicted systolic blood pressure in the left arm given that the systolic blood pressure in the right arm is 100 mm Hg (using Regression line). Right Arm 102       101       94        79           79 Left Arm 175       169      182      146        144 2. Find the Linear correlation coefficient between the blood pressure in right arm (x) and the blood pressure in left arm (y) using the data given in Question 1.

  • Problem 6. (10 pts) The velocity of an object v(t) at several data points is given...

    Problem 6. (10 pts) The velocity of an object v(t) at several data points is given in the table below. t (8) 0 10 20 30 40 v(t) (m/s) 6 26 37 42 44 MORE QUESTIONS ON BACK I (a) Approximate the net distance the object travels between t = 0 and ta 40 using the left rectangle rule with n = 4 rectangles. Include appropriate units for your final answer. (b) Assuming that v'(t) does not change sign, will...

  • 1. (25 points) A regional manager wants to know if there is a difference between the...

    1. (25 points) A regional manager wants to know if there is a difference between the mean amount of time that customers wait in line at the drive-thru window for three stores in her region. She randomly samples wait times at each store. Her data is given in the table to the right. (Using formulas) Test the claim that there is a difference between the mean drive- thru wait times for the three stores at the 0.01 significance level. Assume...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT