summaryrefslogtreecommitdiff
path: root/3769/CH22/EX22.17/Ex22_17.sce
blob: 85fd41dd53e9c939838b480e930278fb11efb814 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
l1=15*10**-10                            //m
l=6563*10**-10
c=3*10**8                               //m/s

//Calculation
v=(c*l1)/l

//Result
printf("\n Speed of star is %0.2f  *10**5 m/s",v*10**-5)