Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

It is a MATLAB problem. Can you please solve them asap? 1. Consider a gas in a piston-cylinder device in which the temperature is held

image text in transcribedIt is a MATLAB problem. Can you please solve them asap?

1. Consider a gas in a piston-cylinder device in which the temperature is held constant. As the volume of the device was changed, the pressure was measured. The volume and pressure values are reported in the following table: (65) Volume (m3) 1 2 3 Pressure (kPa) when I = 300 K 2494 1247 831 623 499 416 4 5 6 a. Use linear interpolation to estimate the pressure when the volume is 3.8 m. (5) b. Use cubic spline interpolation to estimate the pressure when the volume is 3.8 m. (5) C. Use linear interpolation to estimate the volume if the pressure is measured to be 1000 kPa. (5) d. Use cubic spline interpolation to estimate the volume if the pressure is measured to be 1000 kPa. (5) e. Pressure was measured at T = 500 K resulting in the table under this problem. Use all the data to predict what pressure you would have at 400 K for all 6 volumes using linear interpolation. Plot all linear interpolations of all 3 on the same graph. (15) f. Do e once more, using cubic spline, and calculate the absolute value of the difference between the two. (10) g. Using the original data, make a vector of pressure/volume pairs at 300 K from V = 1-6 m3 with an interval of 0.2 and linear interpolation (5). h. Using 4 subplots, map the first 4 orders of polynomial fits for T = 300 K. Put the original data as disconnected circles. Put the data from g on the graph as disconnected x marks. (15) Volume (m) 1 2 3 Pressure (kPa) when T = 500 K 4157 2078 1386 1039 831 693 4 5 6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions

Question

3 How the market system answers four fundamental questions.

Answered: 1 week ago