summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.7/Ex17_7.sce
blob: 583c8bcee08238d2e70049d587ff89b432793808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
v=2.0*10**8                           //m/s
c=3*10**8                           //m/s
d=6.0                               //cm

//Calculation
ug=c/v
a=d/ug
D=d-a

//Result
printf("\n Distance through which ink dot appears to be raised is %0.3f  cm", D)