From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 401/CH3/EX3.7/Example3_7.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 401/CH3/EX3.7/Example3_7.sce (limited to '401/CH3/EX3.7') diff --git a/401/CH3/EX3.7/Example3_7.sce b/401/CH3/EX3.7/Example3_7.sce new file mode 100755 index 000000000..081047e80 --- /dev/null +++ b/401/CH3/EX3.7/Example3_7.sce @@ -0,0 +1,25 @@ +//Example 3.7 +//Program to estimate rms pulse broadening per kilometer for the fiber + +clear; +clc ; +close ; + +//Given data +lambda=0.85*10^(-6); //metre - WAVELENGTH +L=1; //km - DISTANCE +MD=0.025;//MATERIAL DISPERSION = mod(lamda^2*[del^2(n1)/del(lamda)^2) +c=2.998*10^8; //m/s - VELOCITY OF LIGHT IN VACCUM +sigma_lambda_by_lambda=0.0012;// sigma_lambda/lambda + +//Material Dispersion Parameter +M=MD/(lambda*c); + +//R.M.S. Spectral Width +sigma_lambda=sigma_lambda_by_lambda*lambda; + +//R.M.S. pulse broadening per kilometer +sigma_m=sigma_lambda*L*M; + +//Displaying the Result in Command Window +printf("\n\n\t R.M.S. pulse broadening per kilometer is %0.2f ns/km.",sigma_m/10^(-12)); \ No newline at end of file -- cgit