blob: 48776b901f6afba797fe2db0accda41222124c6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc//
//
//
//Variable declaration
n1=1.563; //refractive index of core
n2=1.498; //refractive index of cladding
//Calculation
delta=(n1-n2)/n1; //fractional index change
//Result
printf("\n fractional index change is %0.4f ",delta)
|