blob: e921bbf5cb08cd00d762bd88e3c725c6d76e1898 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Example 6.33
// Calculation of a)load resistance and b)bandwidth
// Page no 495
clc;
clear;
close;
//Given data
Cd=5*10^-12 // Capacitance of pin photodiode
B=10*10^6; // Bandwidth
Ca=10*10^-12; // Input capacitance
// a)Load resistance
R=1/(2*%pi*B*Cd);
R=R*10^-3;
// b)Bandwidth
Bm=1/(2*%pi*(Cd+Ca)*R);
Bm=Bm*10^-9;
//Displaying results in the command window
printf("\n Wavelength of photodiode (in Kilo ohm)= %0.2f ",R);
printf("\n Bandwidth(in MHz) = %0.3f ",Bm);
// The answers vary due to round off error
|