summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.14/Ex1_14.sce
blob: c4a7b5ec28711637c90ad571ca85dbf1c8efd661 (plain)
1
2
3
4
5
6
7
8
9
//Example 1_14
clc();
clear;
//To calculate the distance from the fringe
n=10
lamda=6000*10^-10 //units in mts
alpha=0.01
x=(((2*n)-1)*lamda)/(4*alpha)  //units in mts
printf("Distance from 10th fringe is %.6f mts",x)