summaryrefslogtreecommitdiff
path: root/3822/CH9/EX9.6/Ex9_4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3822/CH9/EX9.6/Ex9_4_1.sce')
-rw-r--r--3822/CH9/EX9.6/Ex9_4_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3822/CH9/EX9.6/Ex9_4_1.sce b/3822/CH9/EX9.6/Ex9_4_1.sce
new file mode 100644
index 000000000..acb6feacc
--- /dev/null
+++ b/3822/CH9/EX9.6/Ex9_4_1.sce
@@ -0,0 +1,16 @@
+
+//OptoElectronics and Fibre Optics Communication, by C.K Sarkar and B.C Sarkar
+//Example 9.6
+//OS=Windows 10
+////Scilab version Scilab 6.0.0-beta-2(64 bit)
+clc;
+clear;
+
+//given
+dphibydt=4;//angula velocity of roatng mirror in rad/sec
+L=0.1;//distance between mirror and the detector in meter
+We=250;//shadow pulse width in micrometer;
+
+dsbydt=L*dphibydt;
+d0=We*[dsbydt];//outer diameter of the fiber in micrometer
+mprintf("The outer diameter of the fiber is=%.2f um",d0);