summaryrefslogtreecommitdiff
path: root/374/CH2/EX2.4/24.sci
diff options
context:
space:
mode:
Diffstat (limited to '374/CH2/EX2.4/24.sci')
-rw-r--r--374/CH2/EX2.4/24.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/374/CH2/EX2.4/24.sci b/374/CH2/EX2.4/24.sci
new file mode 100644
index 000000000..ce79231c4
--- /dev/null
+++ b/374/CH2/EX2.4/24.sci
@@ -0,0 +1,12 @@
+//chapter2.example.4//
+//core refractive index=n1,cut off value of V parameter for single mode operation=Vc,radius=a,cladding refractive index=n2,relative index difference between core and cladding=d,cut off wavelength=lc//
+clc
+clear
+Vc=2.405;
+n1=1.46;
+d=0.0025;
+a=5*(10^-6);//in metres//
+h=sqrt(2*d);
+x=(2*%pi*a*n1)/Vc;
+lc=x*h*(10^6);
+printf("\ncut off wavelength of the fibre=%f*(10^-6)mts.\n",lc);