blob: 4b0fe61ff6abae30ed799b2019e959cda99d0c71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
lamda=7*10**-5 //wavelength(cm)
n=2
mew=1.33 //refractive index
//Calculation
t=(((2*n)+1)*lamda/2)/(2*mew) //thickness of soap film(cm)
//Result
printf("\n thickness of soap film is %0.4f *10**-5 cm",t*10**5)
|