Question

Problem 2: In modeling a combustion process it is required to find enthalpy as a function of temperature. Find linear splines interpolation for the following data. 100 45.2 120 92.9 140 178.8349.4 16 80) 17.2 60 D. 1. 2. 3. Find E(85), and E(105) Plot the data and the splines on the same figure What conclusion can be drawn from the figure?

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

Please find the MATLAB Script below:

%Script Name: Combustion Process
%------------------------------------------
%Define the T and E vectors
%given in the table
T=[60,80,100,120,140,16];
E=[0.0,17.2,45.2,92.9,178.8,349.4];
% Interpolating linear and spline for E(85)
E85Linear=interp1(T,E,85,'linear');
fprintf("E(85) Linear= %4.2f \n",E85Linear);
E85Spline=interp1(T,E,85,'spline');
fprintf("E(85) Spline= %4.2f \n",E85Spline);
% Interpolating linear and spline for E(105)
E105Linear=interp1(T,E,105,'linear');
fprintf("E(105) Linear= %4.2f \n",E105Linear);
E105Spline=interp1(T,E,105,'spline');
fprintf("E(105) Spline= %4.2f \n",E105Spline);
%Plot the figure
figure
hold on
plot(T,E,'o','LineWidth',4.5);
tempPoints=linspace(16,140,200);
ELinear=interp1(T,E,tempPoints,'linear');
plot(tempPoints,ELinear,':','LineWidth',2.5);
ESpline=interp1(T,E,tempPoints,'spline');
plot(tempPoints,ESpline,'--','LineWidth',2.5);
%Labels for the plot
xlabel('T');
ylabel('E');
legend({'Table Values','Linear','Spline'});
title("Temperature vs Enthalpy");


Output of the Program:

>> CombustionProcess
E(85) Linear= 24.20
E(85) Spline= 23.79
E(105) Linear= 57.13
E(105) Spline= 54.42
>>

Screen-shot

Figure File Edit View Insert Tools Desktop Window Help PLOTS Log In R 4 Find Files S Compare New Open Save Print Temperature

Hope this is helpful. Let me know if you need more information on this.

Add a comment
Know the answer?
Add Answer to:
Problem 2: In modeling a combustion process it is required to find enthalpy as a function...
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
  • interp1, polyfit, polyval, diff, trap, quad 1 INTERPOLATION (2 PTS) You did an experiment and obtained the followin...

    interp1, polyfit, polyval, diff, trap, quad 1 INTERPOLATION (2 PTS) You did an experiment and obtained the following data set 90 x 10 20 30 60 70 80 100 60 82 111 140 167 198 200 220 Y 23 45 Create the x and y vectors to represent the above data and use the interpl command to find the interpolation result for the following questions 1. Use linear interpolation to approximate the value of y when x=15 2. Use cubic...

  • 1. Each of 60 students was asked to draw a 20° angle without using a protractor. The size of each...

    1. Each of 60 students was asked to draw a 20° angle without using a protractor. The size of each angle drawn was measured. The results are summarised in the box plot below 10 20 30 40 50 size of angle (a) Find the range for these data. (b) Find the interquartile range for these data. The students were then asked to draw a 70° angle. The results are summarised in the table below Angle, a, (degrees) Number of students...

  • B Frequency Response Modeling Frequency response modeling of a linear system is based on the prem...

    Please explain every step as clearly and detailed as possible. B Frequency Response Modeling Frequency response modeling of a linear system is based on the premise that the dynamics of a linear system can be recovered from a knowledge of how the system responds to sinusoidal inputs. (This will be made mathematically precise in Theorem 13.) In other words, to determine (or iden- tify) a linear system, all one has to do is observe how the system reacts to sinusoidal...

  • Problem 2 In a process development study on yield, four factors were studied, each at two levels:...

    Problem 2 In a process development study on yield, four factors were studied, each at two levels: time (A), concentration (B), pressure (C), and temperature (D). A single replicate of a 2 design was run and the resulting data are shown in the following table Yield (Ibs) 67 128 86 134 97 92 132 128 81 159 114 163 93 109 122 140 Actual Run Order 9 12 13 14 15 10 16 The factor level settings are as follows...

  • 1) Come up with a single (one) question or problem 2) Think of an example with 30 data points a. ...

    1) Come up with a single (one) question or problem 2) Think of an example with 30 data points a. This data needs to be of a quantitative variable (numbers). 3) Then proceed to follow the below steps. example of 30 quantitative data points Purpose State how, when, and where data was collected List of raw data pairs Frequency distribution (table) Histogram Relative percentage polygon Sample mean Sample median Sample mode(s) Sample range Sample variance Sample standard deviation Coefficient of...

  • Can somone show me how to do the 1st problem? Need to find the LS and...

    Can somone show me how to do the 1st problem? Need to find the LS and SS for the fit and the LH and SH for the hole. Fits are all SHAFT BASIS METRIC but the shaft and hole diameters can not be used right out of the table. This is because the 3mm shaft tolerance does not match. You will need to lookup the "Fit" from the table, and then use the LS (Largest Shaft) and SS (Smallest Shaft)...

  • BEng 3M - 2019/20:SEMI THERMODYNAMICS II (ENG3002) Tutorial: Topic #2 - Gibbs Eqns and Maxwell Relations...

    BEng 3M - 2019/20:SEMI THERMODYNAMICS II (ENG3002) Tutorial: Topic #2 - Gibbs Eqns and Maxwell Relations QUESTION 1. Pressure (bar) Temperature 60 80 100 5 6 7 8 Cylinder Cylinder Cylinder Cylinder Volume Volume Volume Volume (m (m) m ( m ) 0.2695 0.22150 1872 0.1614 0.2923 0.2412 0.20470 1772 031410 259002210 1919 0 33540277002367 0 2059 03562 0.2955 02521 0 2105 037680.31290 2671 0 2328 0.3973 0 33 0.282 02452 0.4176 03470 2967 0 2589 0.4377036390.31130 2717 140 160...

  • find v belt drive design power select belt type determine shive size (belt speed 4000 ft/min)...

    find v belt drive design power select belt type determine shive size (belt speed 4000 ft/min) find shive size from power rating figure find rated power find estimated centre distance find belt length (by selecting standard belt length) calculate actual centre distance find contact angle for small shieve determine correct factors calculate correct power per belt no. of belt needed V-Belt Designing Sample Problem . Given: A 4 cylinder diesel engine runs at 80 hp, 1800 rpm, to drive a...

  • 7. (a) (15 pts.) With Figure 1 below showing shifts A and B, fill in the blank Table 1 showing the computation of the...

    7. (a) (15 pts.) With Figure 1 below showing shifts A and B, fill in the blank Table 1 showing the computation of the fraction of Bin Hours in each shift for the different time groups. VI V IV Group 1 A 9-12 13-16 17-20 21-24 Sunday Monday Tuesday Wednesday B B Thursday Friday Saturday Figure 1 Table 1 Computation of Fraction of Bin Hours in Each Shift Days Total in Shift A Fraction in Each Shift B Fraction in...

  • Forecasting labour costs is a key aspect of hotel revenue management that enables hoteliers to appropriately...

    Forecasting labour costs is a key aspect of hotel revenue management that enables hoteliers to appropriately allocate hotel resources and fix pricing strategies. Mary, the President of Hellenic Hoteliers Federation (HHF) is interested in investigating how labour costs (variable L_COST) relate to the number of rooms in a hotel (variable Total_Rooms). Suppose that HHF has hired you as a business analyst to develop a linear model to predict hotel labour costs based on the total number of rooms per hotel...

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