blob: 16ee16778b22174e2704dd560baf3413d2bb5c5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
//
//
//
//Variable declaration
a=25*10**-6 //core radius
lambdaa=0.85*10**-6 //Wavelength
NA=0.22 //Numerical Aperture
//Calculations
V=((2*3.14*a*0.22)/lambdaa)
N=((V**2)/4)
//Result
printf("\n (a) The V number is %2.2f ",V)
printf("\n (b) The number of modes are %3.2f ",N)
|