diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1655/CH7/EX7.2.3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1655/CH7/EX7.2.3')
-rwxr-xr-x | 1655/CH7/EX7.2.3/Example_7_2_3.sce | 16 |
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);
+
|