summaryrefslogtreecommitdiff
path: root/3822/CH9/EX9.6/Ex9_4_1.sce
blob: acb6feacc76cc0dd954eb1e1aedbc95272e6fe10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);