 
--> exec('E:\My program EM\14.Relative velocity\14.4.sce', -1)

From B, ship A appears to move with a velocity of 55.87 kmph in N 13.76 degree E direction
Relative distance after half an hour=27.93 km