summaryrefslogtreecommitdiff
path: root/2183/CH6/EX6.8/Ex_6_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2183/CH6/EX6.8/Ex_6_8.sce')
-rwxr-xr-x2183/CH6/EX6.8/Ex_6_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2183/CH6/EX6.8/Ex_6_8.sce b/2183/CH6/EX6.8/Ex_6_8.sce
new file mode 100755
index 000000000..40a0fd0ec
--- /dev/null
+++ b/2183/CH6/EX6.8/Ex_6_8.sce
@@ -0,0 +1,16 @@
+// Example 6.8 //find output power and bandwidth
+clc;
+clear;
+close;
+Pdc=320*10^-6;//d.c. power in Watt
+f1=20*10^6;//frequency in hertz
+Ti=5*10^-9;//recombination life time in nano second
+Pe1=(Pdc/sqrt(1+(2*%pi*f1*Ti)^2))*10^6;
+f2=100*10^6;//frequency in hertz
+Pe2=(Pdc/sqrt(1+(2*%pi*f2*Ti)^2))*10^6;
+f=((sqrt(3))/(2*%pi*Ti));//in MHz
+fele=f*0.707;//
+disp(Pe1,"overall power in micro Watt when frequecy is 20 MHz")
+disp(Pe2,"overall power in micro Watt when frequecy is 80 MHz")
+disp(f*10^-6,"optical bandwidth in MHz is")
+disp(round(fele*10^-6),"electrical bandwidth in MHz is")