Ask Question, Ask an Expert

+61-413 786 465

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

Problem -a long pipe od 1413 mm id 1318 mm kp 20 wmk

Problem - A long pipe (OD = 141.3 mm, ID =131.8 mm, k p = 20 W/m.K) supplies hot pressurized liquid water at 400 K to a heater in a factory. The pipe has an insulation thickness of 100 mm. A new efficient heater replaces ...

Alocate ten minutes for the presentationuse audio visual

Allocate ten minutes for the presentation Use audio / visual / technological supports / aids where appropriate Use a minimum of 3 properly referenced articles. THEMES PRESENTATION TOPIC MEMORY Discuss the three learning ...

Fluid mechanics assignment - viscous flow in pipesq1 as

Fluid Mechanics Assignment - Viscous Flow in Pipes Q1. As shown in the figure below, water "bubbles up" 3 in. above the exit of the vertical pipe attached to three horizontal pipe segments. The total length of the 0.75-i ...

Assignment - machine learning for signal processingproblem

Assignment - Machine Learning for Signal Processing Problem 1: Instantaneous Source Separation 1. As you might have noticed from my long hair, I've got a rock spirit. However, for this homework I dabbled to compose a pie ...

Life cycle assessmentfor your chosen service eg white board

LIFE CYCLE ASSESSMENT For your chosen service (e.g. white board markers), identify two alternatives of getting the service (e.g. brand A, brand B). Choose the most environmentally friendly option by conducting life cycle ...

Assignment -q1 explain the difference between the

Assignment - Q1. Explain the difference between the metacentric height of a ship during 'Partially Afloat condition and 'Free Floating' condition; aid a sketch to support your answer. Q2. With the aid of sketches, explai ...

Expansion processes of a perfect gasassignment1 attend the

Expansion Processes of a Perfect Gas Assignment: 1. Attend the laboratory class and complete the lab tests according to the supervisor's requirement. Students will not allowed to submit their report if they do not come t ...

Force exerted by jet on moving cart1 you need to determine

Force Exerted By Jet On Moving cart. 1. You need to determine the velocity of water that comes out from the nozzle of this system. need the equation please formulate the equation. 2. This water will strike a small cart a ...

Heat transfer and combustionyou will need graph paper a

HEAT TRANSFER AND COMBUSTION You will need graph paper, a calculator, a copy of Appendix 1 from lesson HTC - 4 - 2 and access to steam tables to answer this TMA. 1. A fuel gas consists of 75% butane (C 4 H 10 ), 10% prop ...

Questions -q1 a qualitative estimate of the effect of a

Questions - Q1. A qualitative estimate of the effect of a wind-tunnel contraction (Figure) on turbulent motion can be obtained by assuming that the angular momentum of eddies does not change through the contraction. Let ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As