summaryrefslogtreecommitdiff
path: root/3769/CH17/EX17.4/Ex17_4.sce
blob: 21c8c579ea7948db67416d4cc0d0a9a0496be5be (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
ug=1.5
uw=1.3
vw=2.25*10**8

//Calculation
vg=(uw*vw)/ug

//Result
printf("\n Speed of the light in glass is %0.3f  *10**8 m/s", vg*10**-8)