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/CH20/EX20.3/Ex20_3.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2519/CH20/EX20.3/Ex20_3.sce (limited to '2519/CH20/EX20.3') diff --git a/2519/CH20/EX20.3/Ex20_3.sce b/2519/CH20/EX20.3/Ex20_3.sce new file mode 100755 index 000000000..3e825c3d7 --- /dev/null +++ b/2519/CH20/EX20.3/Ex20_3.sce @@ -0,0 +1,22 @@ +clc +clear +//Initialization of variables +tl=125 //F +t0=80 //F +t1=1000 //F +d=1 //in +k=25 //Btu/hr ft F +k2=0.0208 +Nu=18 +//calculations +byal=(tl-t0)/(t1-t0) +al=acosh(1/byal) +b=%pi*d/12 +A=%pi*d^2 /(4*144) +tm=(tl+t1)/2 +460 +hr=0.79*0.1714*((tm/100)^4 - ((t0+460)/100)^4)/(tm-460-t0) +hc=Nu*k2*12/d +a=((hc+hr)*b/(k*A))^(0.5) +L=al/a +//results +printf("Length required = %.2f ft",L) -- cgit