summaryrefslogtreecommitdiff
path: root/2165/CH8/EX8.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2165/CH8/EX8.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2165/CH8/EX8.1')
-rwxr-xr-x2165/CH8/EX8.1/8_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2165/CH8/EX8.1/8_1.sce b/2165/CH8/EX8.1/8_1.sce
new file mode 100755
index 000000000..47b2ade49
--- /dev/null
+++ b/2165/CH8/EX8.1/8_1.sce
@@ -0,0 +1,22 @@
+clc
+//initialisation of variables
+b=6//in
+b1=9//in
+r1=4//ratio
+r2=1//ratio
+p=50//lb/in^2
+s=300//r p m
+e=30//per cent
+v=260//C.H.U
+a=1.41
+h=0.30//in
+g=33000//in
+g1=1400//in
+A=1-(r2/r1)^0.41//lb/in^2
+//CALCULATIONS
+I=(p*%pi*36/4*9/12*s/2)*1/g//ft^3
+X=(I*g)/(g1*v*h)//ft^3
+C=X*60/I//ft^3
+R=h/A*100//per cent
+//RESULTS
+printf('The fuel consumption in ft^3/h p hr and the efficiency relative to the air standard cycle=% f percent',R)