blob: 08d9647989c72bebb48b25003716f3b4dd9bc359 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//Example 13.6
//Program to estimate the minimum transmitter power requirement for
//an optical coherent WDM
clear;
clc ;
close ;
//Given data
Np=150; //photons per bit - RECEPTION
h= 6.626*10^(-34); //J/K - PLANK's CONSTANT
c=2.998*10^8; //m/s - VELOCITY OF LIGHT IN VACCUM
B_fib=20*10^12; //Hz - OPTICAL BANDWIDTH
Lambda=1.3*10^(-6); //metre - SHORTEST WAVELENGTH
//Minimum transmitter power requirement for an optical coherent WDM
Ptx=Np*h*c*B_fib/Lambda;
//Displaying the Result in Command Window
printf("\n\n\t Minimum transmitter power requirement for an optical coherent WDM is %0.1f mW or %1.0f dBm .",Ptx/10^(-3), 10*log10(Ptx/(1*10^(-3))));
|