summaryrefslogtreecommitdiff
path: root/401/CH10/EX10.2/Example10_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '401/CH10/EX10.2/Example10_2.sce')
-rwxr-xr-x401/CH10/EX10.2/Example10_2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/401/CH10/EX10.2/Example10_2.sce b/401/CH10/EX10.2/Example10_2.sce
new file mode 100755
index 000000000..10787b540
--- /dev/null
+++ b/401/CH10/EX10.2/Example10_2.sce
@@ -0,0 +1,20 @@
+//Example 10.2
+//Note: MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
+//Program to derive an approximate equation for the cavity gain
+//of an SOA
+
+clear;
+clc ;
+close ;
+
+syms R1 R2;
+
+//For 3 dB peak through ratio
+//Let A=sqrt(R1*R2)*Gs
+A=(1-sqrt(0.5))/(1+sqrt(0.5));
+
+//Cavity gain
+G=A/(1-A)^2/sqrt(R1*R2);;
+
+//Displaying the Result in Command Window
+disp(G,"The approximate equation of cavity gain is, G = ") \ No newline at end of file