blob: c38726f5e6bda85fec2073cc20b8958d683447a2 (
plain)
1
2
3
4
5
6
7
8
|
//Example 1_51
clc();
clear;
//To find the refraactive index of the liquid
D12air=1.45 //units in cm
D12liq=1.25 //units in cm
u=(D12air)^2/(D12liq)^2
printf("Refractive index of the liquid is %.4f",u)
|