Question: USE MATLAB AND SCREENSHOT CODE PLSSS 1. The Carnot engine is an ideal cyclic heat engine that gives the maximum amount of work. A cycle

USE MATLAB AND SCREENSHOT CODE PLSSS
USE MATLAB AND SCREENSHOT CODE PLSSS 1. The Carnot engine is an

1. The Carnot engine is an ideal cyclic heat engine that gives the maximum amount of work. A cycle of the engine consists of 4 steps (see the right figure), all in reversible processes. (1) ab isothermal expansion at T by adding heat Q (2) --- adiabatic expansion, (3) cd isothermal compression at T, by removing heat Qs, and (4) d--a adiabatic compression. The workpl -W done by the engine is w-(7) 75 (1) Suppose the working fluid in the engine is 1 mole of an ideal gas [PV = RT, R -8.314 /(molK)) and the system operates between 7) = 800 K and T; = 300 K. In the 1" step (a--b), the volume changes from V. 0.001 mto V0.005 m'. The heat input in this step is 2 = [*TAS = RT, IN V S. (2) In the adiabatic processes in the 2nd and 4 steps, PV = constant (3) is obeyed where y=573 for an ideal gas. Write a script file HW7_1_YourLastName.m that (1) draws the P-V diagram as the figure above (shading is not needed). As a unit of P, use bar (do not use Pascal). To draw the graph, calculate V and V, from the ideal gas law and Eq. (3). Then, P can be defined as a function of V for each step. (2) calculates the work done by the engine -W (PV = "pav + " Pav + ["Pav +["Par (4) In evaluating Eq. (4), use MATLAB built-in function "integral". Then, from Eqs. (2) and (4), calculate the engine efficiency defined as 77= (5) Show that the calculated efficiency is the same as the Carnot efficiency 17 = 1 - I T

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!