summaryrefslogtreecommitdiff
path: root/1655/CH7/EX7.2.3
diff options
context:
space:
mode:
Diffstat (limited to '1655/CH7/EX7.2.3')
-rwxr-xr-x1655/CH7/EX7.2.3/Example_7_2_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1655/CH7/EX7.2.3/Example_7_2_3.sce b/1655/CH7/EX7.2.3/Example_7_2_3.sce
new file mode 100755
index 000000000..bf72d70b1
--- /dev/null
+++ b/1655/CH7/EX7.2.3/Example_7_2_3.sce
@@ -0,0 +1,16 @@
+// Example 7.2.3 page 7.12
+
+clc;
+clear;
+
+r=25d-6; //radius
+R=39; //Lambertian emission pattern
+NA=0.25; //numerical aperture
+a=35d-6; //area
+Pc1= %pi^2*a^2*R*NA^2; //computing coupled power when r<a
+Pc1=Pc1*10^7;
+Pc= %pi^2*r^2*R*NA^2; //computing coupled power when r>a
+Pc=Pc*10^7;
+
+printf("\nOptical power when r>a is %.2f mW.\nOptical power when r<a is %.3f mW.",Pc,Pc1);
+