summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.24/Ex1_24.sce
blob: 57fb10b48db30de292b7066e5b35371cf9a56c75 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 1_24
clc();
clear;
//To calculate the refractive index of the liquid
lemda=5.895*10^-7                         //units in mts
D=0.3*10^-2                             //units in mts
R=1                                     //units in mts
n=5
u=(4*R*n*lemda)/D^2
printf("The reractive index of the liquid is %.2f",u)