summaryrefslogtreecommitdiff
path: root/629/CH3/EX3.1/example3_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /629/CH3/EX3.1/example3_1.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 '629/CH3/EX3.1/example3_1.sce')
-rw-r--r--629/CH3/EX3.1/example3_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/629/CH3/EX3.1/example3_1.sce b/629/CH3/EX3.1/example3_1.sce
new file mode 100644
index 000000000..2f9d1bb63
--- /dev/null
+++ b/629/CH3/EX3.1/example3_1.sce
@@ -0,0 +1,20 @@
+clear
+clc
+//Example 3.1 LOAD LIFTED BY A HYDRAULIC JACK
+//Moment equilibrium at C, (F*l)-(F1*l1)=0
+l=0.33; //[m]
+F=100; //[N]
+l1=0.03; //[m]
+F1=l*F/l1 //[N]
+
+//Force equilibrium (small piston), (p1*A1)-F1=0
+d1=1.5*10^-2; //[m]
+A1=%pi*d1^2/4; //[m^2]
+p1=F1/A1 //[N/m^2]
+
+//Force equilibrium (lifter), F2-(p2*A2)=0
+d2=5*10^-2; //[m]
+A2=%pi*d2^2/4 //[m^2]
+p2=p1 //[N/m^2](as both are at same elevation)
+F2=p2*A2/10^3 //[kN]
+printf("\nThe load that the jack can support = %.1f kN.\n",F2) \ No newline at end of file