diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2024/CH9/EX9.1/9_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2024/CH9/EX9.1/9_1.sce')
-rwxr-xr-x | 2024/CH9/EX9.1/9_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2024/CH9/EX9.1/9_1.sce b/2024/CH9/EX9.1/9_1.sce new file mode 100755 index 000000000..64adf4c4c --- /dev/null +++ b/2024/CH9/EX9.1/9_1.sce @@ -0,0 +1,22 @@ +clc
+//Initialization of variables
+h1=1329.1 //Btu/lbm
+v1=6.218 //ft^3/lbm
+J=778
+g=32.174
+m=1
+//calculations
+p=[80 60 54.6 40 20]
+h=[ 1304.1 1273.8 1265 1234.2 1174.8]
+v=[ 7.384 9.208 9.844 12.554 21.279]
+Fc=1
+V2=Fc*sqrt(2*J*g*(h1-h))
+A=m*v ./V2
+V2=[0 V2]
+A=[0 A]
+//results
+disp('velocity = ')
+disp(V2 )
+disp('Area = ')
+disp(A)
+//The initial values of velocity and area are 0 and infinity respectively
|