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 --- 479/CH12/EX12.2/Example_12_2.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 479/CH12/EX12.2/Example_12_2.sce (limited to '479/CH12/EX12.2/Example_12_2.sce') diff --git a/479/CH12/EX12.2/Example_12_2.sce b/479/CH12/EX12.2/Example_12_2.sce new file mode 100755 index 000000000..40e68b232 --- /dev/null +++ b/479/CH12/EX12.2/Example_12_2.sce @@ -0,0 +1,23 @@ +//Chemical Engineering Thermodynamics +//Chapter 12 +//Refrigeration + +//Example 12.2 +clear; +clc; + +//Given +Ta = 298;//Initial temperature in K +Tb = 203;//Final temperature in k +T1 = 298;//Water temperature in K +n = 1;//Kgmole of CO2 +//Cp = 5.89+0.0112T ; Specific heat of CO2 in Kcal/Kgmole K + +//To Calculate the compressor load +//From equation 12.2a and b (page no 221) +function y = f(T) + y = ((T1-T)/T)*n*(5.89+0.0112*T); +endfunction +W = intg(Ta,Tb,f); +mprintf('The compressor load is %f Kcal/Kgmole',W); +//end \ No newline at end of file -- cgit