f(x) = (a + 1)e(x-(d+5))/(b + c + 1) 1B) Write clear variables to begin the exercise, then proceed to the following problem. Consider y = : f(x) above over the interval [d, d+ 10]. Use a for loop combined with a sum command to get a left-hand estimate and a right-hand estimate of the area between the function and the x-axis over the interval above. Assume that you will have 20 subrectangles for both estimates. Declare your results P1Bleft and P1Bright. = 1C) Write clear variables on a line in your script after your answers for 1B, then proceed to the following problem. Use the int command to get an antiderivative of y f(x), i.e. use MATLAB to compute the indefinite integral ff(x) dx. Hint: the output should contain the Gauss error function; so, if the output looks suspicious, it is probably okay. Declare your result as P1C. 1D) Use the int command to evaluate the definite integral d 10f(x) dx. Hint: the output should look like the previous problem. Declare your result as P1D. 1E) Use the vpa command to get a numerical approximation to the definite integral ♫d + ¹0f(x) dx. Hint: the output should be a decimal answer close to what you found in 1B. Declare your result as P1E.
f(x) = (a + 1)e(x-(d+5))/(b + c + 1) 1B) Write clear variables to begin the exercise, then proceed to the following problem. Consider y = : f(x) above over the interval [d, d+ 10]. Use a for loop combined with a sum command to get a left-hand estimate and a right-hand estimate of the area between the function and the x-axis over the interval above. Assume that you will have 20 subrectangles for both estimates. Declare your results P1Bleft and P1Bright. = 1C) Write clear variables on a line in your script after your answers for 1B, then proceed to the following problem. Use the int command to get an antiderivative of y f(x), i.e. use MATLAB to compute the indefinite integral ff(x) dx. Hint: the output should contain the Gauss error function; so, if the output looks suspicious, it is probably okay. Declare your result as P1C. 1D) Use the int command to evaluate the definite integral d 10f(x) dx. Hint: the output should look like the previous problem. Declare your result as P1D. 1E) Use the vpa command to get a numerical approximation to the definite integral ♫d + ¹0f(x) dx. Hint: the output should be a decimal answer close to what you found in 1B. Declare your result as P1E.
Related questions
Question
100%
a=3 b=7 c=7 d=17
![f(x) = (a + 1)e - (x - (d + 5))²/(b + c + 1)
1B) Write clear variables to begin the exercise, then proceed to the following problem. Consider y = f(x) above
over the interval [d, d + 10]. Use a for loop combined with a sum command to get a left-hand estimate and a
right-hand estimate of the area between the function and the x-axis over the interval above. Assume that
have 20 subrectangles for both estimates. Declare your results P1Bleft and P1Bright.
you will
=
1C) Write clear variables on a line in your script after your answers for 1B, then proceed to the following
problem. Use the int command to get an antiderivative of y f(x), i.e. use MATLAB to compute the indefinite
integral ff(x) dx. Hint: the output should contain the Gauss error function; so, if the output looks suspicious, it
is probably okay. Declare your result as P1C.
10,
1D) Use the int command to evaluate the definite integral ♫d + ¹0f(x) dx. Hint: the output should look like the
previous problem. Declare your result as P1D.
d + 10,
1E) Use the vpa command to get a numerical approximation to the definite integral d f(x) dx. Hint: the
output should be a decimal answer close to what you found in 1B. Declare your result as P1E.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fe192fe17-3d15-43f1-9083-5e30f93ccdf8%2Fca8873dd-2755-47de-8c2e-fc063e87aca9%2F9kmucnt_processed.png&w=3840&q=75)
Transcribed Image Text:f(x) = (a + 1)e - (x - (d + 5))²/(b + c + 1)
1B) Write clear variables to begin the exercise, then proceed to the following problem. Consider y = f(x) above
over the interval [d, d + 10]. Use a for loop combined with a sum command to get a left-hand estimate and a
right-hand estimate of the area between the function and the x-axis over the interval above. Assume that
have 20 subrectangles for both estimates. Declare your results P1Bleft and P1Bright.
you will
=
1C) Write clear variables on a line in your script after your answers for 1B, then proceed to the following
problem. Use the int command to get an antiderivative of y f(x), i.e. use MATLAB to compute the indefinite
integral ff(x) dx. Hint: the output should contain the Gauss error function; so, if the output looks suspicious, it
is probably okay. Declare your result as P1C.
10,
1D) Use the int command to evaluate the definite integral ♫d + ¹0f(x) dx. Hint: the output should look like the
previous problem. Declare your result as P1D.
d + 10,
1E) Use the vpa command to get a numerical approximation to the definite integral d f(x) dx. Hint: the
output should be a decimal answer close to what you found in 1B. Declare your result as P1E.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
