blob: 180ce990a55495b79f0875f423fd2bb9413f3ca6 (
plain)
1
2
3
4
5
6
7
8
|
clc;
clear;
D_10=1.40 //diameter of the 10th ring in air in cm
D_10_liquid=1.27 //diameter of the 10th ring in liquid in cm
//calculation
myu=D_10^2/D_10_liquid^2
mprintf("The refractive index of the liquid is = %1.3f",myu)
|