summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.20/Ex1_20.sce
blob: caec42e79ce8bb6e18950c706798e096742dc3bc (plain)
1
2
3
4
5
6
7
8
//Example 1_20
clc();
clear;
//To calculate the refractive index of the liquid
D10=1.40                       //units in cm
d10=1.27                      //units in cm
u=D10^2/d10^2
printf("Refractive index of the liquid is %.3f",u)