From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1427/CH18/EX18.39/18_39.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 1427/CH18/EX18.39/18_39.sce (limited to '1427/CH18/EX18.39/18_39.sce') diff --git a/1427/CH18/EX18.39/18_39.sce b/1427/CH18/EX18.39/18_39.sce new file mode 100644 index 000000000..963c1976d --- /dev/null +++ b/1427/CH18/EX18.39/18_39.sce @@ -0,0 +1,14 @@ +//ques-18.39 +//Calculating values of q and w and U for conversion of water to steam +clc +n=1;//moles of water +P=1;//pressure (in atm) +L=540;//latent heat of steam (in cal/g) +T1=273; T2=373;//temperature (in K) +V1=22.4;//volume (in L) +q=n*18*L; +V2=(V1*T2)/T1; +w=-P*V2;//neglecting V1 (in L atm) +w=w*24.2;//(in cal) +U=q+w; +printf("q=%.2f kcal, w=%.1f cal and change in internal energy is %.4f kcal.",q/1000,w,U/1000);0 -- cgit