summaryrefslogtreecommitdiff
path: root/3636/CH1/EX1.7/Ex1_7.sce
blob: 576e52fd34c1471a1f6d248d442798ffbf99b5f5 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
clear;
l=5 //length to be covered in cm
up=26.5*10^8 //in cm/s

//Calculation
t=(2*l/up)

mprintf("Time taken= %1.1e s",t)
//The answers vary due to round off error