summaryrefslogtreecommitdiff
path: root/3850/CH27/EX27.3/Ex27_3.sce
blob: 0317915f05fb2fd30f478e398a4c23d5bb7e7c66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

//To Find the ratio of Cp/Cv

//Example 27.3

clc;

clear;

Cv=5;//Molar Heat Capacity of Gas at constant volume

R=2;//Universal Gas constant in cal/mol-K

Cp=Cv+R;//Molar Heat Capacity of Gas at constant pressure

gama=Cp/Cv;//The ratio Cp/Cv

printf("Cp/Cv=%f",gama);