summaryrefslogtreecommitdiff
path: root/3751/CH16/EX16.11/Ex16_11.sce
blob: 20769618620a7d9478ffbc0ded3acd1a130e1423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.11
//To Find 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=32;       //Capacity of Intensifier, Litres
           l=1.5;            //Stroke Length, m

//Computations:-
          Capacity=Capacity/1000;       //m^3
       
         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