summaryrefslogtreecommitdiff
path: root/2216/CH12/EX12.4/ex_12_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2216/CH12/EX12.4/ex_12_4.sce')
-rwxr-xr-x2216/CH12/EX12.4/ex_12_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2216/CH12/EX12.4/ex_12_4.sce b/2216/CH12/EX12.4/ex_12_4.sce
new file mode 100755
index 000000000..7919bb433
--- /dev/null
+++ b/2216/CH12/EX12.4/ex_12_4.sce
@@ -0,0 +1,14 @@
+//Example 12.4: Total power
+clc;
+clear;
+close;
+//given data :
+L_eff=20;// in km
+del_lamdaC=125;// in nm
+gR=6*10^-14;// m/W
+A_eff=55*10^-12;// in m^2;
+del_lamdaS=0.8;// in nm
+N=32;// number of channels
+F=0.1;// constant
+P_tot=(4*F*del_lamdaC*A_eff)/(gR*del_lamdaS*L_eff*(N-1));
+disp(P_tot,"Total power,P_tot(mW) = ")