From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2774/CH5/EX5.6/Ex5_6.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2774/CH5/EX5.6/Ex5_6.sce (limited to '2774/CH5/EX5.6') diff --git a/2774/CH5/EX5.6/Ex5_6.sce b/2774/CH5/EX5.6/Ex5_6.sce new file mode 100755 index 000000000..0b36e94ec --- /dev/null +++ b/2774/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,16 @@ +clc +// initialization of variables +T1=20+273 // initial temperature in kelvin +P=200 // pressure in kPa +V=2 //volume in m^3 +R=0.287 // gas constant for air +W=720 // work done on air in kJ +Cv=0.717 // specific heat at constant volume for air + +//solution +m=(P*V)/(R*T1)// mass of air + +T2=T1+(W/(m*Cv))// final temperature in kelvin + +delS=m*Cv*log(T2/T1) // ENROPY CHANGE FOR CONSTANT VOLUME PROCESS +printf(" The Entropy increase is %.3f kJ/K ",delS) -- cgit