summaryrefslogtreecommitdiff
path: root/746/CH3/EX3.05
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /746/CH3/EX3.05
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '746/CH3/EX3.05')
-rwxr-xr-x746/CH3/EX3.05/3_05.sce25
1 files changed, 0 insertions, 25 deletions
diff --git a/746/CH3/EX3.05/3_05.sce b/746/CH3/EX3.05/3_05.sce
deleted file mode 100755
index 4cea618b9..000000000
--- a/746/CH3/EX3.05/3_05.sce
+++ /dev/null
@@ -1,25 +0,0 @@
-//force and pressure//
-pathname=get_absolute_file_path('3.05.sce')
-filename=pathname+filesep()+'3.05-data.sci'
-exec(filename)
-//Net force on the gate(in kN):
-Fr=d*g*w*(D*L+L^2/2*sind(theta))
-//Centre of pressure:
-//Calculation for y coordinate:
- yc=D/sind(theta)+L/2
- //Area(in m^2):
- A=L*w
- //Moment of inertia of rectangular gate(in m^4):
- Ixx=w*L^3/12
- //y coordinate(in m):
- y=yc+Ixx/A/yc
-//Calculation for x coordinate:
- Ixy=0
- xc=w/2
- //x coordinate(in m):
- x=xc+Ixy/A/xc
-printf("\n\nRESULTS\n\n")
-printf("\n\nNet force on the gate: %f kN\n\n",Fr/1000)
-printf("\n\nCoordinate of centre of pressure:(%0.1f,%0.1f)\n\n",x,y)
-
-