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 /2666/CH2 | |
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 '2666/CH2')
-rwxr-xr-x | 2666/CH2/EX2.1/2_1.sce | 12 | ||||
-rwxr-xr-x | 2666/CH2/EX2.2/Ex2_2.sce | 13 | ||||
-rwxr-xr-x | 2666/CH2/EX2.3/Ex2_4.sce | 16 | ||||
-rwxr-xr-x | 2666/CH2/EX2.4/2_4.sce | 15 |
4 files changed, 56 insertions, 0 deletions
diff --git a/2666/CH2/EX2.1/2_1.sce b/2666/CH2/EX2.1/2_1.sce new file mode 100755 index 000000000..5816b7a75 --- /dev/null +++ b/2666/CH2/EX2.1/2_1.sce @@ -0,0 +1,12 @@ +clc
+//initialisation of variables
+a=4//lb
+t=140//F
+p1=200//psi gage
+p2=14.2//psia
+w=53.35//lb
+t1=460//F
+//CALCULATIONS
+V=(a*w*(t+t1))/((144)*(p1+p2))//cu ft
+//RESULTS
+printf('The tank volume=% f cu ft',V)
diff --git a/2666/CH2/EX2.2/Ex2_2.sce b/2666/CH2/EX2.2/Ex2_2.sce new file mode 100755 index 000000000..28f51f66b --- /dev/null +++ b/2666/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,13 @@ +
+clc
+//initialisation of variables
+p=14.7//lb
+v=1.0//ft
+w=400//psi
+n=1/1.3//ft
+//CALCULATIONS
+P1=p-v//psia
+P2=w+p//psia
+V=(P2/P1)^n
+//RESULTS
+printf('The ratio of the volume =% f ',V)
diff --git a/2666/CH2/EX2.3/Ex2_4.sce b/2666/CH2/EX2.3/Ex2_4.sce new file mode 100755 index 000000000..11997a62e --- /dev/null +++ b/2666/CH2/EX2.3/Ex2_4.sce @@ -0,0 +1,16 @@ +
+clc
+//initialisation of variables
+t=2940//F
+p1=600//psia
+p2=70//psia
+c=1.28//ft
+t2=3400//F
+p=8.571//F
+q=1.600//F
+//CALCULATIONS
+T=(p1/p2)^(1.28-1/1.28)//ft
+T1=(t2/p)^0.2188//ft
+T2=t2/q//R
+//RESULTS
+printf('The temperature at point=% f R',T2)
diff --git a/2666/CH2/EX2.4/2_4.sce b/2666/CH2/EX2.4/2_4.sce new file mode 100755 index 000000000..8b2a0eafd --- /dev/null +++ b/2666/CH2/EX2.4/2_4.sce @@ -0,0 +1,15 @@ +clc
+//initialisation of variables
+t=2940//F
+p1=600//psia
+p2=70//psia
+c=1.28//ft
+t2=3400//F
+p=8.571//F
+q=1.600//F
+//CALCULATIONS
+T=(p1/p2)^(1.28-1/1.28)//ft
+T1=(t2/p)^0.2188//ft
+T2=t2/q//R
+//RESULTS
+printf('The temperature at point=% f R',T2)
|