blob: 956111dd4c96400baff0a9945b6c1a7d22ee2d61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Example number 12.2, Page number 264
clc;clear;
close;
//Variable declaration
n1=1.563; //Core refractive index
n2=1.498; //Cladding refractive index
//Calculation
delta=(n1-n2)/n1; //fractional index change
//Result
printf("fractional index change is %.5f",delta)
|