blob: 601182b14f53ba7dd073ad627a9f0d06f00eb4ae (
plain)
1
2
3
4
5
6
7
8
9
10
|
//given
//find the area of piston and displacement of that piston
a=3.
b=4.
A=0.785*3**2
printf("\n area of piston %.2f ",A)
D=A*b
//by using above results
printf("\n displacement of piston %.2f cu in",D)
|