summaryrefslogtreecommitdiff
path: root/3841/CH4/EX4.6/Ex4_6.sce
blob: c7fa3e404e0f851b2400e7d171b9a9ec519db9d4 (plain)
1
2
3
4
5
6
7
8
9
10
clear
//given
//compute the gas force action on pistion
//use the figure to compute it
p=500.
D=5**2
//force=pressure*area
area=0.785*D
F=p*area
printf("\n \n force  %.2f lb",F)