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 --- 2519/CH19/EX19.2/Ex19_2.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 2519/CH19/EX19.2/Ex19_2.sce (limited to '2519/CH19/EX19.2') diff --git a/2519/CH19/EX19.2/Ex19_2.sce b/2519/CH19/EX19.2/Ex19_2.sce new file mode 100755 index 000000000..18fcbd3ff --- /dev/null +++ b/2519/CH19/EX19.2/Ex19_2.sce @@ -0,0 +1,23 @@ +clc +clear +//Initialization of variables +r1=4.035 //in +r2=4.312 //in +r3=5.312 //in +r4=6.812 //in +k12=25 //Btu/hr ft F +k23=0.05 //Btu/hr ft F +k34=0.04 //Btu/hr ft F +t1=625 //F +t4=125 //F +l=100 //ft +hr=1.7 //Btu/hr ft^2 F +//calculations +Rs=1/(2*%pi*l) *(log(r2/r1) /k12+log(r3/r2) /k23 +log(r4/r3) /k34) +Qd=(t1-t4)/Rs +dt=Qd*12/(hr*%pi*2*l*6.812) +t0=t4-dt +//results +printf("Heat loss = %d Btu/hr",Qd) +printf("\n Temperature required = %d F",t0) +disp("The answers given in the textbook are a bit different due to rounding off error") -- cgit