Determining The Work of The Thermodynamic System in Polytropic Processes PV Const
Determining The Work of The Thermodynamic System in Polytropic Processes PV Const
Project 7:
Determining the work of the thermodynamic system in polytropic
processes pVk=const.
1. Content
The work of an ideal gas thermodynamic system in a polytropic process is defined as follows:
2. Requirements
1) Students should have basic programming knowledge of MATLAB.
2) Learn about symbolic calculation and graphical interpretation in MATLAB.
3. Tasks
Write Matlab program to:
1) Enter data for number of gas moles n, initial pressure P0, initial volume V0.
2) Create a button to select the process (polytropic, isothermal, isothermic or exit) and enter
values of P and V for selected process. (You can refer to the command line below or create a
GUI interface)
3) Draw a graph of the above process on the scale (P, V).
4) Use symbolic operations to calculate the work of selected process.
Note: Students can use other non-symbolic approaches.
Submitting report has to contain text explaining the content of the program and the entire code
verified to run properly in Matlab.
4. References:
A. L. Garcia and C. Penland, MATLAB Projects for Scientists and Engineers, Prentice Hall,
Upper Saddle River, NJ, 1996. http://www.algarcia.org/fishbane/fishbane.html. Or
https://www.mathworks.com/matlabcentral/fileexchange/2268-projects-for-scientists-and-
engineers
1/1
Applied Physics Department, FAS, HCMUT Matlab Projects – Physics 1
1/2