summaryrefslogtreecommitdiff
path: root/3814/CH13/EX1.1/EX2_8.sce
blob: 70e1220c4ecd8e47e9ed18f24cbf5dd516291145 (plain)
1
2
3
4
5
6
7
8
9
10
// to calculate force acting on 1mx 2m
clc
A=1*2
v=(100*1000)/3600 // 100km/hr
mprintf('Velocity of the wind = %f m/s',v)
density=1.2// in kg/m3 
p0=(density*v^2)/2
mprintf(' \n P0= %d N/m2',p0)
F=p0*A
mprintf('\n Force F=p0A = %d N',F)