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 --- 2339/CH1/EX1.1.5/Ex1_5.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 2339/CH1/EX1.1.5/Ex1_5.sce (limited to '2339/CH1/EX1.1.5/Ex1_5.sce') diff --git a/2339/CH1/EX1.1.5/Ex1_5.sce b/2339/CH1/EX1.1.5/Ex1_5.sce new file mode 100755 index 000000000..a41386bd1 --- /dev/null +++ b/2339/CH1/EX1.1.5/Ex1_5.sce @@ -0,0 +1,12 @@ +clc +clear + +U=22; //Internal Energy in kJ/s +P2=0.95*1000; //Pressure in kPa +V2=0.09; //Volume in m^3/s; +P1=0.5*1000; +V1=0.15; +X=(P2*V2)-(P1*V1); +H=U+X; + +printf('Change in Enthalpy: %2.1f kJ/s',H); -- cgit