summaryrefslogtreecommitdiff
path: root/3537/CH7/EX7.11/Ex7_11.sce
blob: 48640f462bdb832b95f45be1da2f176b260c8cae (plain)
1
2
3
4
5
6
7
8
//Example 7_11
clc();
clear;
//To calculate the fractional index for an optical fiber
n1=1.563
n2=1.498
delta=(n1-n2)/n1
printf("The fractioal index of an optical fiber is %.4f",delta)