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.6/12_6.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2666/CH12/EX12.6/12_6.sce (limited to '2666/CH12/EX12.6') diff --git a/2666/CH12/EX12.6/12_6.sce b/2666/CH12/EX12.6/12_6.sce new file mode 100755 index 000000000..90ef0d666 --- /dev/null +++ b/2666/CH12/EX12.6/12_6.sce @@ -0,0 +1,15 @@ +clc +//initialisation of variables +p1=27.0//psia +p2=90//psia +h1=23.90//Btu +h2=79.36//Btu per lb +h3=0.1720//Btu +h4=89.02//Btu per lb +w=18.03//lb per min +d=42.4//tond +//CALCULATIONS +W=w*(h4-h2)//Btu per min +H=W/d//hp +//RESULTS +printf('the horse power is =% f hp',H) -- cgit