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 --- 1571/CH8/EX8.1/Chapter8_Example1.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1571/CH8/EX8.1/Chapter8_Example1.sce (limited to '1571/CH8/EX8.1') diff --git a/1571/CH8/EX8.1/Chapter8_Example1.sce b/1571/CH8/EX8.1/Chapter8_Example1.sce new file mode 100755 index 000000000..380272661 --- /dev/null +++ b/1571/CH8/EX8.1/Chapter8_Example1.sce @@ -0,0 +1,14 @@ +clc +clear + +//INPUT +l=80;//latent heat of fusion in cal +j=4.2*10^7;//joules constant in ergs/cal +w=-0.092*10^6;//work done in changing phase change in ergs + +//CALCULATIONS +q=l*j;//heat added in ergs +du=q-w;//internal energy in ergs + +//OUTPUT +mprintf('the change in internal energy is %3.2f ergs',du) -- cgit