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 --- 647/CH12/EX12.4/Example12_4.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 647/CH12/EX12.4/Example12_4.sce (limited to '647/CH12/EX12.4') diff --git a/647/CH12/EX12.4/Example12_4.sce b/647/CH12/EX12.4/Example12_4.sce new file mode 100755 index 000000000..bfaa2cfca --- /dev/null +++ b/647/CH12/EX12.4/Example12_4.sce @@ -0,0 +1,24 @@ +clear; +clc; + +// Example: 12.4 +// Page: 479 + +printf("Example: 12.4 - Page: 479\n\n"); + +// Solution + +//*****Data******// +// H2O(l) = H2O(g) +deltaH = 9710;// [cal] +deltaS = 26;// [e.u.] +Temp = 27 + 273;// [K] +P = 1;// [atm] +//**************// + +deltaG = deltaH - Temp*deltaS;// [cal] +if deltaG > 0 + printf("Vaporisation of liquid water is not spontaneous\n"); +else + printf("Vaporisation of liquid water is spontaneous") +end \ No newline at end of file -- cgit