Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Mechanical Engineering Expert

Problem specification:

5 kg of air is contained in the 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 polytropic process, with variable values of n, to a final specific volume of 0.30m3/kg.

Objective:

prepare down a MATLAB code to solve 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.

Procedure:

A) 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 process 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 all along the process. Identify unknowns, equations, constants and calculation orders.

B) By using your hand calculations as a guide, prepare a simple MATLAB m-file to compute the properties at points all along the process (minimum of 20 points, however must be a variable that can be changed) by 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 the MATLAB.

C) Compute the work performed for the process by integrating the curve of pressure versus specific volume. Use the ‘trapezoidal area method’ for computing the integral.

D) Suppose that the specific internal energy for the air in this problem can be defined as the function of temperature as shown below:

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

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

E) Using conservation of energy and the work computed, find out the amount of heat transferred for each process.

F) prepare a loop in the code to analyze the various values of n, or run the code for the distinct values of n asked for below.

Deliverables:

A) Hand calculations which outline planned MATLAB code.

B) MATLAB code (m-file) which find outs the state variables P, v, T, and u for the defined process, and which find outs the work and heat for each process.

C) On same graph, plot of P-v for this process with 4 different values of n: 1, 1.4, 1.5, 1.8.

D) Plot of P-v and T-v for n=1.5 on a single graph. Use the function plotyy.

E) Table summarizing results of work and heat as a function of n.

F) A brief paragraph detailing what you learned and how useful you think such skills will be for your future as an engineer.

Mechanical Engineering, Engineering

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

Have any Question? 


Related Questions in Mechanical Engineering

Consider the top part of the balloon to be half of a

Consider the top part of the balloon to be half of a spherical pressure vessel. What is the ratio of the normal stress across a vertical seam to the normal stress across a seam inclined 45 degrees?

A mixture of 210 x 10-3 g of o2 388 x 10-3 mol of n2 and

A mixture of 2.10 X 10 -3 g of O2 3.88 X 10-3 mol of N 2 . And 5.25 X 10 -3 molecules of CO are placed into a vessel of volume 5.25 L at 12.5°C. a. Calculate the total pressure in the vessel. b. Calculate the mole fracti ...

A dilute suspension contains ten spheres per liter a sample

A dilute suspension contains ten spheres per liter. A sample (one tenth of that solution) is removed. What is the probability that there is (a) at least one sphere, (b) at most one sphere in the sample. You may assume th ...

The stepped shaft rotates at 120 rpm and has a 20 kw input

The stepped shaft rotates at 120 rpm and has a 20 kW input at A. 16 kW is taken off to operate machinery at B, and the remaining 4 kW is used at C. The shaft is stainless steel with yield strength in shear of 300 MPa. a. ...

A uniform cantilever beam with triangular cross section is

A uniform cantilever beam with triangular cross section is loaded only due to its own weight (a load uniformly distributed along the length). What is the ratio of the maximum tensile normal stress to the maximum compress ...

The mass of a he atom is less than that of an ar atom does

The mass of a He atom is less than that of an Ar atom. Does that mean that because of its larger mass, Argon exerts a higher pressure on the container walls than He at the same molar density, volume, and temperature? Exp ...

1 the pump in the boat shown pumps 6 ft3nbsps of water

1. The pump in the boat shown pumps 6 ft 3  /s of water through a submerged water passage, which has an area of 0.25 ft 2  at the bow of the boat and 0.15 ft 2  at the stern. Determine the tension in the restraining rope ...

1 what is a stress-strain diagram2 explain the difference

1. What is a stress-strain diagram? 2. Explain the difference between elastic limit and proportional limit. 3. Explain the difference between the concepts of yield point and yield stress. 4. What is offset strain? IS. Ho ...

Wind tunnel testing of the concrete reef balls used in

Wind tunnel testing of the concrete reef balls used in artificial reefs is proposed. A typical reef ball (e.g. Figure 1.2) has a diameter of 6 ft, and is immersed in sea water. A scale model is prepared with diameter of ...

How do bolt stiffness and joint stiffness affect the angle

How do bolt stiffness and joint stiffness affect the angle of turn versus preload relationship? A rubber washer has been used instead of a metal one, by mistake. How will preload be affected if the same predetermined tor ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen