Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Mechanical Engineering Expert

Problem specification
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, through a polytropic process, with variable values of n, to a final specific volume of 0.30m3/kg.
Objective:
Write a MATLAB code to solve for the pressure and temperature variation throughout the expansion process and to calculate the work and heat produced in the processes for variable values of n.
Procedure:
1. Begin by defining the temperature at the initial state and then define the temperature and pressure at the final state. Sketch a rough graph of what the process looks like on P-v coordinates. Write out by hand the equations and steps you would take to determine the actual P, T, and v at all points along the process. Identify unknowns, equations, constants, and calculation orders.
2. Using your hand calculations as a guide, write a simple MATLAB m-file to calculate the properties at points along the process (minimum of 20 points, but should be a variable that can be changed) using one of the values of n (I recommend using n=1.5). Plot P-v and T-v diagrams for the process using MATLAB.
3. Calculate the work performed for the process by integrating the curve of pressure versus specific volume. Use the “trapezoidal area method” for calculating the integral.
4. Assume that the specific internal energy for the air in this problem can be defined as a function of temperature as follows:
??(??)=(1.0344*10-4)*??2+(6.4476*10-1)*??+(1.3727*102)
Add code to your MATLAB program to calculate 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 calculated, determine the amount of heat transferred for each process.
6. Write a loop in the code to analyze the different values of n, or run the code for the different values of n asked for below.
Deliverables
1. Hand calculations that outline planned MATLAB code.
2. MATLAB code (m-file) that calculates the state variables P, v, T, and u for the defined process, and that calculates the work and heat for each process.
3. On the same graph, plot of P-v for this process with 4 different values of n: 1, 1.4, 1.5, 1.8.
4. Plot of P-v and T-v for n=1.5 on a single graph. Use the function plotyy.
5. Table summarizing results of work and heat as a function of n.
6. A brief paragraph detailing what you learned in this exercise and how useful you think these skills will be for your future as an engineer. This is not a BS question, I want you to provide me with useful information about your experience. If you didn’t learn anything here because you already are a pro at MATLAB, say that!

Mechanical Engineering, Engineering

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

Have any Question?


Related Questions in Mechanical Engineering

1 explain the term critical equipment and provide two clear

1. Explain the term "critical equipment" and provide two clear examples of machinery which falls into this category on board a twin screw motor vessel. 2. Explain the process of Charpy lmpact Testing including sample mar ...

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 ...

Problem on shaft -assuming no frictional losses a torque of

Problem on Shaft - Assuming no frictional losses, a torque of T = 750lb·in is applied through the shaft of gear F in order to drive the roller chain at point B at a constant speed. The chain sprocket has a pitch diameter ...

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 ...

The aim of the project is to demonstrate certain aspects of

The aim of the project is to demonstrate certain aspects of engineering materials in different applications. The projects will be assessed on the basis of a written Research Report. The report should clearly show what yo ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Fluid mechanics assignment - finite control volume analysis

Fluid Mechanics Assignment - Finite Control Volume Analysis and Dimensional Analysis Q1. The wind blows through a 7ft × 10ft garage door opening with a speed of 5 ft/s as shown in the figure. Determine the average speed, ...

Mechanical engineering assignment task - solve the given

Mechanical Engineering Assignment Task - Solve the given problem. Task 1 - A spring with a one-turn loop of 40mm mean radius is formed from a round section of wire having 5 mm diameter. The straight tangential legs of th ...

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 ...

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 ...

  • 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