Skip to main content
Engineering LibreTexts

1.5.1: Problem Set

  • Page ID
    9482
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Determine the saturation temperature, specific liquid enthalpy, specific enthalpy of evaporation and specific enthalpy of dry steam at a pressure of 2.04 MPa.

    Pressure [MN/m2] Saturation Temperature [C] hf [kJ/kg] hfg [kJ/kg] hg [kJ/kg]
    2.1 214.9 920.0 1878.2 2798.2
    2.0 212.4 908.6 1888.6 2797.2
    Answer

    MATLAB solution is as follows; >> pressure=[2.1 2.0]; >> sat_temp=[214.9 212.4]; >> h_f=[920 908.6]; >> h_fg=[1878.2 1888.6]; >> h_g=[2798.2 2797.2]; >> sat_temp_new= interp1(pressure, sat_temp,2.04) sat_temp_new = 213.4000 >> h_f_new=interp1(pressure,h_f,2.04) h_f_new = 913.1600 >> h_fg_new=interp1(pressure,h_fg,2.04) h_fg_new = 1.8844e+003 >> h_g_new=interp1 (pressure,h_g,2.04) h_g_new = 2.7976e+003

    The following table gives data for the specific heat as it changes with temperature for a perfect gas. (Data available for download). 1

    Temperature [F] Specific Heat [BTU/lbmF]
    25 0.118
    50 0.120
    75 0.123
    100 0.125
    125 0.128
    150 0.131

    Change of specific heat with temperature

    Using interp1 function calculate the specific heat for 30 F, 70 F and 145 F.


    Answer

    MATLAB solution is as follows: >> temperature=[25;50;75;100;125;150] temperature = 25 50 75 100 125 150 >> specific_heat=[.118;.120;.123;.125;.128;.131] specific_heat = 0.1180 0.1200 0.1230 0.1250 0.1280 0.1310 >> specific_heatAt30=interp1(temperature,specific_heat,30) specific_heatAt30 = 0.1184 >> specific_heatAt70=interp1(temperature,specific_heat,70) specific_heatAt70 = 0.1224 >> specific_heatAt145=interp1(temperature,specific_heat,145) specific_heatAt145 = 0.1304

    For the problem above, create a more detailed table in which temperature varies between 25 and 150 with 5 F increments and corresponding specific heat values.


    Answer

    MATLAB solution is as follows: >> new_temperature=25:5:150; >>

    new_specific_heat=interp1(temperature,specific_heat,new_temperature);>> [new_temperature',new_specific_heat'] ans = 25.0000 0.1180 30.0000 0.1184 35.0000 0.1188 40.0000 0.1192 45.0000 0.1196 50.0000 0.1200 55.0000 0.1206 60.0000 0.1212 65.0000 0.1218 70.0000 0.1224 75.0000 0.1230 80.0000 0.1234 85.0000 0.1238 90.0000 0.1242 95.0000 0.1246 100.0000 0.1250 105.0000 0.1256 110.0000 0.1262 115.0000 0.1268 120.0000 0.1274 125.0000 0.1280 130.0000 0.1286 135.0000 0.1292 140.0000 0.1298 145.0000 0.1304 150.0000 0.1310

    During a 12-hour shift a fuel tank has varying levels due to consumption and transfer pump automatically cutting in and out to maintain a safe fuel level. The following table of fuel tank level versus time (Data available for download) is missing readings for 5 and 9 AM. Using linear interpolation, estimate the fuel level at those times.

    Time [hours, AM] Tank level [m]
    1:00 1.5
    2:00 1.7
    3:00 2.3
    4:00 2.9
    5:00 ?
    6:00 2.6
    7:00 2.5
    8:00 2.3
    9:00 ?
    10:00 2.0
    11:00 1.8
    12:00 1.3

    Fuel Tank Level Versus Time


    Answer

    >> time=[1 2 3 4 6 7 8 10 11 12]; >> tank_level=[1.5 1.7 2.3 2.9 2.6 2.5 2.3 2.0 1.8 1.3]; >> tank_level_at_5=interp1(time,tank_level,5);tank_level_at_5=2.7500>>tank_level_at_9=interp1(time,tank_level,9) tank_level_at_9 = 2.1500

    Footnotes

    • 1 Thermodynamics and Heat Power by Kurt C. Rolle, Pearson Prentice Hall. © 2005, (p.19)

    This page titled 1.5.1: Problem Set is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Serhat Beyenir via source content that was edited to the style and standards of the LibreTexts platform.

    • Was this article helpful?