# HW8 1091.docx - HW8 ENED 1091 HW#8 Due Week of April 9th at...

• Homework Help
• 7

This preview shows page 1 - 3 out of 7 pages.

HW84/12/2018ENED 1091 HW#8Due Week of April 9th at beginning of RecitationProblem 1: Use the data points show below and the trapezoidal rule to estimate the integral ofthe curve shown below from t = 0 to 3.6. Be sure to clearly show your calculations – don’t just give an answer.
3 3.6
100.6
Problem 2: The curve shown in problem 1 is for the function y = xx. There is no expression forthe indefinite integral of this function. However, we can estimate the definite integral using numerical integration as you have done in Problems 1. Write a MATLAB script that will:
Begin with 3 data points (x-values) evenly distributed from 0 to 3.6 inclusive (Hint: usethe MATLAB command, linspace).Calculate the corresponding y-values for the function y = x^x.Estimate the integral of y from 0 to 3.6 using the Trapezoid Rule.Double the number of data points and get a new estimate for the integral of y from 0 to3.6 using the trapezoid rule.