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 --- 2666/CH12/EX12.8/12_8.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 2666/CH12/EX12.8/12_8.sce (limited to '2666/CH12/EX12.8') diff --git a/2666/CH12/EX12.8/12_8.sce b/2666/CH12/EX12.8/12_8.sce new file mode 100755 index 000000000..9d75f56c3 --- /dev/null +++ b/2666/CH12/EX12.8/12_8.sce @@ -0,0 +1,23 @@ +clc +//initialisation of variables +t1=35//F +t2=70//F +h=40000//Btu per hr +d=0.8//ft +p1=40//psia +p2=200//psia +q=80//percent +h1=39.21//ft +h2=81.16//ft +s=0.16914//ft +h3=93.79//ft +g=2544//ft +//CALCULATIONS +H=h3-h2//Btu +W=H/d//Btu +H1=h2-h1//Btu per lb +P=W+H1//Btu per lb +W1=h*(W/P)//Btu per hr +H2=W1/g//hp +//RESULTS +printf('The horsepower input is=% f hp',H2) -- cgit