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

Find the transverse components for a backward-propagating

Find the transverse components for a backward-propagating TM wave in a rectangular waveguide of width a and height b. Assume the backward-propagating wave propagates in the negative z direction and the amplitude of the w ...

Field required for total power it is required that a

Field required for total power. It is required that a lossless rectangular waveguide carry 100 W of power (time averaged) at 4.5 GHz, in the TE 10 mode. The waveguide is a = 47.55 mm wide and b = 22.15 mm high (WR187 wav ...

Describe the operation of a single-phase ac motor list

Describe the operation of a single-phase ac motor. List several applications of this common actuator. Is it possible to realize a three-phase operation using a single-phase ac supply? Explain your answer.

Answer each lab in two separate fileslab 1laboratory shift

Answer each lab in two separate files. Lab 1: Laboratory : Shift Registers Discussion Questions: While reviewing your data and results, provide detailed answer to each of the following: 1. Why does the pattern in a shift ...

Assume that 10000 spur gears 11 8 in in diameter and 1 in

Assume that 10,000 spur gears, 11 /8 in. in diameter and 1 in. thick, are to be made of 70-30 brass. What manufacturing method would you consider?

For each section illustrated find the second moment of area

For each section illustrated, find the second moment of area, the location of the neutral axis, and the distances from the neutral axis to the top and bottom surfaces. Suppose a positive bending moment of 10 kip · in is ...

A lvdt is a displacement sensor which is commonly used in

A LVDT is a displacement sensor, which is commonly used in mechatronic systems. Consider a digital control loop that uses an LVDT measurement for position control of a machine. Typically, the LVDT is energized by a dc po ...

Transients on an open line a lossless open transmission

Transients on an open line. A lossless open transmission line is given as shown in Figure 16.41. The line is 10 m long and has a capacitance of 200 pF/m and inductance of 0.5 μH/m. Calculate the transient voltage at a di ...

Fields in shorted waveguide a parallel plate waveguide

Fields in shorted waveguide. A parallel plate waveguide operates in a TM mode and has the following electric and magnetic fields: where Ac is the cutoff wavelength and λ g is the guide wavelength. The wave propagates in ...

The exercise machine is designed with a lightweight cart

The exercise machine is designed with a lightweight cart which is mounted on small rollers so that it is free to move along the inclined ramp. Two cables are attached to the cart-one for each hand. If the hands are toget ...

  • 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