summaryrefslogtreecommitdiff
path: root/3751/CH16/EX16.12/Ex16_12.sce
blob: 5d76ed58516ae6deb10d48cd1f2a4529f6c9cbf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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