blob: 8a8a528976211bd6b3121151f1a0278d34e0741d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
errcatch(-1,"stop");mode(2);// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 2 - Pressure and its measurements
// Problem 2.1
//Given Data Set in the Problem
D=30/100
d=4.5/100
F=500
//Calculations
A_ram=%pi/4*D^2 //Area of ram
A_plunger=%pi/4*d^2 //Area pof plunger
P_plunger=F/A_plunger
//Pressure is transmitted equally in all directions ,thus,
W_ram=P_plunger*A_ram
mprintf("The Weight of the ram is %f kN",W_ram/1000);
exit();
|