summaryrefslogtreecommitdiff
path: root/3814/CH2/EX2.14/Ex2_14.sce
blob: 773925ec04b91ecce4e844eaa5f40357c7a3845e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// mass flow rate is calculated on velocity 
clc
vr1=5 //m/s
p=1000
A=0.02*0.4
m=vr1*p*A
mprintf('m= pAVr1= %d kg/s',m)
vrlx=5
vr2=5
Fx=m*(vrlx-vr2*cosd(30))
mprintf('\n  Fx= %f N',Fx)
vly=0// given vrly=0
Fy=-m*vr2*sind(30)
mprintf('\n Fy= %f N',Fy)