//chapter 18 Ex 8 clc; clear; close; lTrain=100; t=6; sMan=5; sRelative=lTrain/(t*5/18); sTrain=sRelative-sMan; printf("The speed of train is %d km/hr",sTrain);