//chapter 18 Ex 2 clc; clear; close; s=132*5/18; //converting into m/sec d=110+165; //length of train + length of platform t=d/s; printf("The time taken is %1.1f sec",t);