blob: 4c02b2552fd6595d42732d52f7db44b5c8baf641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//
//
//
//Variable declaration
D10=1.4 //diameter of 10th ring(cm)
D10_dash=1.27 //changed diameter of 10th ring(cm)
//Calculation
mew=(D10**2)/(D10_dash**2) //refractive index of the liquid
//Result
printf("\n refractive index of the liquid is %0.3f ",mew)
|