summaryrefslogtreecommitdiff
path: root/3772/CH15/EX15.7/Ex15_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3772/CH15/EX15.7/Ex15_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3772/CH15/EX15.7/Ex15_7.sce')
-rw-r--r--3772/CH15/EX15.7/Ex15_7.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3772/CH15/EX15.7/Ex15_7.sce b/3772/CH15/EX15.7/Ex15_7.sce
new file mode 100644
index 000000000..737299aae
--- /dev/null
+++ b/3772/CH15/EX15.7/Ex15_7.sce
@@ -0,0 +1,25 @@
+// Problem no 15.7,Page no.355
+
+clc;clear;
+close;
+
+L=0.9 //m //Length of cyclinder
+D=0.4 //m //Diameter
+t=0.006 //m //thickness
+p=5*10**6 //Pa //Pressure
+E=100*10**9
+m=3 //Poissoin's ratio
+k=2.6*10**9 //Pa //Bulk modulus
+
+//Calculations
+
+//Let X=dV_1*V_1**-1
+X=p*(0.4-2*0.006)*(2*t*E)**-1*(5*2**-1-2*m**-1) //Volumetric strain
+dV_1=X*%pi*4**-1*0.388**2*L //cm**3 //Increase in volume of cyclinder
+V_1=%pi*4**-1*0.388**2*L //VOlume
+dV_2=p*k**-1*V_1 //DEcrease in volume of oil due to increase in pressure
+
+dV=(dV_1+dV_2)*10**6 //Resultant additional space
+
+//Result
+printf("Additional quantity of oil to be pumped is %.2f",dV);printf(" cm**3")