Ask Question, Ask an Expert


Ask Mechanical Engineering Expert

problem: 5 kg of air is contained in a piston-cylinder device, initially at a pressure of 2MPa and a specific volume of 0.08m3/kg. The air then expands, as an ideal gas, via a polytrophic process, with variable values of n, to a final specific volume of 0.30m3/kg.

Objective: prepare down a MATLAB code to resolve for the pressure and temperature variation all through the expansion process and to compute the work and heat produced in the processes for variable values of n.


1) Start by defining the temperature at initial state and then define the temperature and pressure at final state. Sketch a rough graph of what the procedure looks like on P-v coordinates. prepare out by hand the equations and steps you would take to find out the actual P, T, and v at all points along the process. Recognize unknowns, equations, constants and computation orders.

2) By using your hand computations as a guide, prepare a simple MATLAB m-file to compute the properties at points all along the process (minimum of 20 points, but must be a variable that can be modified) using one of the values of n (I recommend using n =1.5). Plot P-v and T-v diagrams for the process by using MATLAB.

3) Compute the work performed for the process through integrating the curve of pressure versus specific volume. Use the “trapezoidal area method” for computing the integral.

4) Suppose that the specific internal energy for the air in this problem can be defined as a function of temperature as given:

u(T) = (1.0344 ∗ 10−4) ∗ T2 + (6.4476 ∗ 10−1) ∗ T + (1.3727 ∗ 102)

Add code to your MATLAB program to find out the specific internal energy for the process using the information of the pressure and specific volume at each state.

5) Using conservation of energy and the work find outd, determine the amount of heat transferred for each process.

6) prepare a loop in the code to analyze the different values of n, or run the code for the different values of n.

Mechanical Engineering, Engineering

  • Category:- Mechanical Engineering
  • Reference No.:- M9147

Have any Question? 

Related Questions in Mechanical Engineering

Outline the production process of a typical ic chip suppose

Outline the production process of a typical IC chip. Suppose a digital control circuit is assembled using discrete elements such as bipolar junction transistors, diodes, capacitors, and resistors, instead of their monoli ...

Starting from x 0 with no initial velocity the velocity of

Starting from x = 0 with no initial velocity, the velocity of a race car is defined by the relation v = 154 v1-e-0.00057x, where v and x are expressed in m/s and meters, respectively. Determine the position and accelerat ...

Infinite bandwidth multiple-access channel find the

Infinite bandwidth multiple-access channel. Find the capacity region for the Gaussian multiple-access channel with infinite bandwidth. Argue that all senders can send at their individual capacities (i.e., infinite bandwi ...

The heat-resisting tiles on the us space shuttle are made

The heat-resisting tiles on the U.S. space shuttle are made from heat-resisting ceramics. Determine the method or methods used to attach them to the structure .What difficulties or problems have been encountered relating ...

Cnsider a hollow cylinder of length l inside diameter di

Consider a hollow cylinder of length l, inside diameter d i , and outside diameter d o . If the conductivity of the material is k, what is the conductive thermal resistance of the cylinder in the radial direction?

A vendor claims that an adiabatic air compressor takes in

A vendor claims that an adiabatic air compressor takes in air at standard atmosphere conditions and delivers the air at 650 kPa (gage) and 285°C. Is this possible? Justify your answer by calculation. Sketch the process o ...

1 compare and contrast using your own words please do not

1) Compare and contrast using your own words (please do not merely list) the different characteristic properties of the following classes of materials: Metals, Ceramics, Polymers, and Glasses. Consider mechanical, optica ...

Broadcast channel consider the following degraded broadcast

Broadcast channel. Consider the following degraded broadcast channel. (a) What is the capacity of the channel from X to Y 1 ? (b) What is the channel capacity from X to Y 2 ? (c) What is the capacity region of all (R 1 , ...

A water filtration system in an industrial processnbspwas

A water filtration system in an industrial process   was purchased in 2014 for $250,000. It will be replaced at the end of year 2019. What is the estimated cost of the replacement, based on the following equipment cost i ...

In figure 1526 the load impedance is 02lambda from the

In Figure 15.26, the load impedance is 0.2λ from the first stub (stub (1)) and the distance between the two stubs is 0.1 λ. Calculate the lengths of the two stubs to match the load to the line.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate