blob: 5ca006e9709fe36b611743ae3099d3a8f7b88abc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//
//
//
//Variable declaration
D8=1.42 //diameter of 8th ring(cm)
D8dash=1.25 //changed diameter of 8th ring(cm)
//Calculation
mew=D8**2/D8dash**2 //refractive index of liquid
//Result
printf("\n refractive index of liquid is %0.2f ",mew)
|