summaryrefslogtreecommitdiff
path: root/3751/CH16/EX16.8/Ex16_8.sce
blob: 9485eabdb59b609cde9e931c4514e0193ffb37dd (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
25
//Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.8
//To Find   (i)Displacement of Accumulator   (ii)Capacity of Accumulator     (iii)Total weight placed on the ram.
      clc
      clear

//Given Data:-
       p=200;        //Pressure of oil, kPa 
       D=1.5;       //Diameter of Ram,  m 
       L=6;          //Stroke or Lift of Ram, m 
 
//Computations:- 
       A=(%pi/4)*D^2;     //m^2 
       Disp=A*L;       //Displacenmenmt  of Accumulator, m^3 
       Capacity=p*Disp;         //Capacity of Accumulator, kNm
       W=p*A;       //Total Weight on the Ram,  kN

//Results:-
    printf("(i) Displacenmenmt of Accumulator=%.2f m^3\n ",Disp)       //The answer vary due to round off error
    printf("(ii) Capacity of Accumulator =%.f kNm \n ",Capacity)     //The answer given in the textbook is wrong
    printf("(iii) Total Weight on the Ram, W =%.1f kN \n ",W)       //The answer vary due to round off error