summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.44/Ex1_44.sce
blob: 67ae0ffdb730ad1307d4518266223b4f4e9ad614 (plain)
1
2
3
4
5
6
7
8
9
//Example 1_44
clc();
clear;
//To find the refractive index of the transparent sheet
lemda=5460*10^-8                  //units in cm
t=6.3*10^-4                      //units in cm
n=6
u=(n*lemda)/t+1
printf("The refractive index of the transparent sheet is %.2f",u)