summaryrefslogtreecommitdiff
path: root/3886/CH14/EX14.1/14_1.sce
blob: c8cad45f6e65662226bbbb31d54292f3aee5c59e (plain)
1
2
3
4
5
6
7
8
9
10
//Passenger train
//refer fig. 14.7
//let vb= velocity of goods train
vA=(72*1000)/(60*60)  //m/sec
//relative velocity of B w.r.t A
//vB/A=20-vB
//relative distance moved to overtake the goods train=250+200 m
//45 seconds are required to cover this relative distance
vB=(10*60*60)/(1000)  //kmph
printf("\nvB=%.2f kmph",vB)