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

Project -this project is individual work write a computer

Project - This project is individual work. Write a computer program using Matlab to read the engineering constants E 1 , E 2 , v 12 , and G 12 then computes and prints the Reduced Compliances Matrix [S], the Reduced Stif ...

A fan draws air from the atmosphere through a 030-mdiameter

A fan draws air from the atmosphere through a 0.30-mdiameter round duct that has a smoothly rounded entrance. A differential manometer connected to an opening in the wall of the duct shows a vacuum pressure of 2.5 cm of ...

Assignmentin mse 2010 we talk about several general classes

Assignment In MSE 2010 we talk about several general classes of materials: metals, polymers, ceramics, glasses and composites. We know that these are just the basic categories and we've discussed several specific example ...

Rework problem if the exit velocity profile is given bywhen

Rework Problem. if the exit velocity profile is given by when y is measure vertically from the center line of the water tunnel. Problem A two-dimensional object is placed in a 4-ft-wide water tunnel as shown. The upstrea ...

1 in a hartree-fock scf calculation on the chlorine atom

1. In a Hartree-Fock SCF calculation on the chlorine atom using 20 (spatial) basis functions, how many virtual orbitals are determined? 2. Give an example of a restricted Hartree-Fock wavefunction and an unrestricted Har ...

A sample of propane c3h8 is placed in a closed vessel

A sample of propane (C 3 H 8 ) is placed in a closed vessel together with an amount of O 2 that is 2.15 times the amount needed to completely oxidize the propane to CO 2 and H 2 O at constant temperature. Calculate the m ...

In a chemical plant a solution of density 1100kgm3 and

In a chemical plant a solution of density 1100kg/m3 and specific heat capacity 4.6 kJ/kg-Kis to be heated from 65 OC to 100OC. The required flow rate of the solution is 11.8 kg/s. Atubular heat exchanger is used for this ...

Example how an p-channel flash eprom would work is the

Example how an p-channel flash EPROM would work. Is the p-channel worse or better than the n-channel asides form speed? Estimate the write and erase times (using the Fowler-Nordheim tunneling formulae for a triangular ba ...

Name the two types of bolted joints and tell why theyre

Name the two types of bolted joints and tell why they're called that? What is the main mission of the bolts in any joint? What factor largely determines the behavior and life of a tensile joint? Why are bolted joints oft ...

A water-filled u-tube manometer is used to measure the

A water-filled U-tube manometer is used to measure the pressure inside an air tank. The water level in the U-tube on the side connected to the tank is 5 ft above the base of the tank. The water level in the other side of ...

  • 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