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)