summaryrefslogtreecommitdiff
path: root/3411/CH1/EX1.11.u1/Ex1_11_u1.sce
blob: cc257d8e7f4051a9caa838ee25a3ff235e988937 (plain)
1
2
3
4
5
6
7
8
//Example 1_11_u1
clc;
clear;
//To calculate refractive Index of liquid
  d10=1.40
  d_10=1.27
  u=(d10/d_10)^2
  printf("The refractive index of liquid is %.3f",u)