summaryrefslogtreecommitdiff
path: root/3751/CH16/EX16.5/Ex16_5.sce
blob: d20aa02d4c97b44d7b839e3f3b8dab016030383d (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
26
//Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.5
//To Calculate the Increase in Pressure Intensity.
      clc
      clear

//Given Data:-
          d=200;   //diameter of Pipe, mm
          Q=40;       //Discharge, Litres/s
          l=600;     //Length of Pipe, m
          t=1.5;      //Time taken to close the Valve gradually, s
  
//Data Required:-
        rho=1000;     //Density of Water, Kg/m^3

//Computations:-
          A=(%pi/4)*(d/1000)^2;     //m^2
          V=(Q/1000)/A;      //m/s
          p=rho*l*V/(t*1000);       //Pressure Rise, kPa  

     
//Results:-

         printf("The Pressure Rise due to Gradual Closure of Valve=%.f kPa\n",p)       //The answer vary due to round off error