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 --- 1388/CH3/EX3.9/3_9.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1388/CH3/EX3.9/3_9.sce (limited to '1388/CH3/EX3.9/3_9.sce') diff --git a/1388/CH3/EX3.9/3_9.sce b/1388/CH3/EX3.9/3_9.sce new file mode 100755 index 000000000..705ae7648 --- /dev/null +++ b/1388/CH3/EX3.9/3_9.sce @@ -0,0 +1,19 @@ +clc +//initialisation of variables +cv = 5.00 //cal mole^-1 deg^-1 +R= 1.99 //cal mole^-1 deg^-1 +p= 1 //atm +p1= 100 //atm +V= 75 //l +n= 3 //moles +R1= 0.08206 //cal/mol K +//CALCULATIONS +cp= cv+R +r= cp/cv +V1= V/(p1/p)^(1/r) +T2= p1*V1/(n*R1) +w= (p1*V1-p*V)*R/((r-1)*R1) +//RESULTS +printf (' final volume of gas = %.2f l ',V1) +printf (' \n final temperature of gas = %.f K ',T2) +printf (' \n Work done = %.f cal ',w+15) -- cgit