summaryrefslogtreecommitdiff
path: root/3751/CH16/EX16.12/Ex16_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3751/CH16/EX16.12/Ex16_12.sce')
-rw-r--r--3751/CH16/EX16.12/Ex16_12.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3751/CH16/EX16.12/Ex16_12.sce b/3751/CH16/EX16.12/Ex16_12.sce
new file mode 100644
index 000000000..5d76ed585
--- /dev/null
+++ b/3751/CH16/EX16.12/Ex16_12.sce
@@ -0,0 +1,23 @@
+//Fluid Systems - By Shiv Kumar
+//Chapter 16- Hydraulic Power and Its Transmissions
+//Example 16.12
+//To Calculate the Diameters of Fixed ram and Sliding Cylinder.
+ clc
+ clear
+
+//Given Data:-
+ p1=50; //Pressure Intensity of Low Pressure Liquid, bar
+ p2=150; // Pressure Intensity of High Pressure Liquid, bar
+ Capacity=0.025; //Capacity of Intensifier, m^3
+ l=1.25; //Stroke Length, m
+
+//Computations:-
+
+ D2=sqrt(Capacity/((%pi/4)*l))*1000; //mm
+ D1=sqrt((p2/p1)*D2^2); //mm
+
+//Results:-
+ printf("Diameter of Fixed Cylinder, D2=%.2f mm\n",D2) //The answer vary due to round off error
+ printf("Diameter of Sliding Ram, D1=%.2f mm\n",D1) //The answer vary due to round off error
+
+