summaryrefslogtreecommitdiff
path: root/3834/CH11/EX11.1.1/Ex11_1_1.sce
blob: d5d2e1f4ce981a93e6dad9b73dcd8343c95ac3a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Fiber-optics communication technology, by Djafer K. Mynbaev and Lowell L. Scheiner 
//Example 11.1.1
//windows 7
//Scilab version-6.0.0
clc;
clear ;
//given

R=0.85;//Responsivity of photodiode in A/W
P=1E-3;//Input power saturation in W

Ip=R*P;//The photocurrent in A
mprintf("The photocurrent =%.2f mA",Ip*1E+3);