blob: 0467695914392a9974bf71dd1f528fdf935a71ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//Fluid Systems - By Shiv Kumar
//Chapter 16- Hydraulic Power and Its Transmissions
//Example 16.13
//To Find the Diameter of Cylinder.
clc
clear
//Given Data:-
F=400; //Force, N
p=4000; //Pressure, kPa
//Computations:-
d=sqrt(4*F/(%pi*p*1000))*1000; //mm
//Results;-
printf("Cylinder Diameter, d=%.2f mm\n",d)
|