summaryrefslogtreecommitdiff
path: root/1553/CH17/EX17.11/17Ex11.sce
blob: fa2fa73d710ca439d88dcd54f4645fa47fe11efb (plain)
1
2
3
4
5
6
7
8
9
//chapter 17 Ex 11

clc;
clear;
close;
us=90;t1=6;t2=4;
t=t1+t2;
s_goods=us*t2/t;
printf("The speed of goods train is %d km/hr",s_goods);