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 --- 1460/CH2/EX2.3/2_3.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1460/CH2/EX2.3/2_3.sce (limited to '1460/CH2/EX2.3/2_3.sce') diff --git a/1460/CH2/EX2.3/2_3.sce b/1460/CH2/EX2.3/2_3.sce new file mode 100755 index 000000000..3c3f352a3 --- /dev/null +++ b/1460/CH2/EX2.3/2_3.sce @@ -0,0 +1,12 @@ +clc +//initialization of variables +T1=500 //R +T2=1000 //R +w=2//lbm +//calculations +function[cp]=c(T) + cp=0.282+0.00046*T +endfunction +Q=intg(T1,T2,c) +Heat=Q*w +printf("Heat flow = %d B",Heat-2) -- cgit