summaryrefslogtreecommitdiff
path: root/3751/CH2/EX2.19/Ex2_19.sce
blob: 41ebffe4b6619d4db2f6ce9016166cfd2775f0c3 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.19
      clc
     clear
     
//Given Data:-
        d=40;     //Diameter of the Jet, mm
        V=24;     //Velocity of the Jet, m/s

//Data Used:-
     rho=1000;     //Density of water, kg/m^3

//Computations:-
        d=d/1000;       //m
        a=(%pi/4)*d^2;      //cross-sectional area of Jet, m^2
   //CaseI - Jet strikes normal to a fixed plate
     //(a)
        Fx=rho*a*V^2;      //N
     //(b)Work done, W
        W=0;     //As there is no motion of flat plate
     //(c)
        eta=0;         //Hydraulic efficiency is zero
        
//Result I:-
     printf("Case I:  \n\t")
     printf("(a)Force exerted by Jet on the Plate in direction of Jet, Fx=%.2f N  \n\t", Fx)      //The answer vary due to round off error
     printf("(b)Work done by Jet per second=%.2f N \n\t", W)      //The answer vary due to round off error
     printf("(c)Hydraulic efficiency of the Jet, eta_H=%.2f percent \n\n", eta)      //The answer vary due to round off error
  //Case II - Jet strikes the moving plate
         u=10;          //Velocity of moving flat plate, m/s
    //(a)
         Fx=rho*a*(V-u)^2;         //N
    //(b)
         W=Fx*u;       //N-m/s
    //(c)
         eta=2*W/(rho*a*V^3)*100;        //In percentage
  //Result II
     printf("Case II: \n\t")
     printf("(a)Force exerted by Jet on the Plate in direction of Jet, Fx=%.2f N  \n\t", Fx)      //The answer vary due to round off error
     printf("(b)Work done by Jet per second=%.2f N \n\t", W)      //The answer vary due to round off error
     printf("(c)Hydraulic efficiency of the Jet, eta_H=%.2f percent \n\n", eta)      //The answer vary due to round off error
  //Case III - Jet strikes a series of flat moving plate
          u=10;         //velocity of flat plate, m/s
     //(a)
          Fx=rho*a*V*(V-u);          //N
     //((b)
          W=Fx*u;           //N-m/s
     //(c)
          eta=W*2/(rho*a*V^3)*100;        //In percentage
  //Result III

     printf("Case III: \n\t")
     printf("(a)Force exerted by Jet on the Plate in direction of Jet, Fx=%.3f N  \n\t", Fx)      //The answer vary due to round off error
     printf("(b)Work done by Jet per second=%.2f N \n\t", W)      //The answer vary due to round off error
     printf("(c)Hydraulic efficiency of the Jet, eta_H=%.2f percent \n\n", eta)      //The answer vary due to round off error