Question: Q 2 ) USE MATLAB, PLEASE MAKE CODE COPYABLE Integrating real data The temperature in F along a metal bar has been measured and

Q2) USE MATLAB, PLEASE MAKE CODE COPYABLE
Integrating real data
The temperature in "F along a metal bar has been measured and the results tabulated in Table 1
where x is the distance from the left end of the bar in meters. Note that due to test limitations,
the data was not collected at evenly spaced intervals.
Table 1: Measured temperature data of 5m bar
a) The theoretical temperature is given by T(x)=4x2+3x-7 Plot the theoretical
temperature as a smooth blue line and the measured data from the table (red asterisk) in a
single plot.
b) Use one of the integration techniques we have studied to estimate the integral of the data.
Display the result using an fprinte statement with 4 digits to the right of the decimal
point.
c) Calculate the magnitude of the true percent relative error. The true value is the integral of
the theoretical temperature function. Display the result using an fprint statement with
2 digits to the right of the decimal point.
 Q2) USE MATLAB, PLEASE MAKE CODE COPYABLE Integrating real data The

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!