blob: 3f7f545c47ddbfdd176b853e6ed2c6921a12dfee (
plain)
1
2
3
4
5
6
7
8
|
clc;
clear all;
delta = 0.015; // Relative refractive index
NA = 0.27;// Numerical Aperture
n1 = NA/(sqrt(2*delta)); //The refractive index of core
n2 = n1*(1-delta); // The refractice index of cladding
disp('',n1,'The refractive index of core is')
disp('',n2,'The refractive index of cladding is')
|