blob: 354f8a25642c1f3b31824f45f3b70e2adfc746b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Chapter 5
//Example 5-10
//ProbOnPhotoDetector
//Page 134,135, Figure 5-9
clear;clc;
//Given
Rf = 100*10^3 ;//Feedback Resistance
//example 5-10(a)
Il1 = 1*10^-6 ; //Load current 1
Vo1 = Rf * Il1 ; //Output voltage in photo detector
printf ( "\n\n Output Voltage in photo detector for Il1 = %.4f V ",Vo1 )
//example 5-10(b)
Il2 = 50*10^-6 ; // Load current 2
Vo2 = Rf * Il2 ; //Output Voltage in photo detector
printf ( "\n\n Output Voltage in photo detector for Il2 = %.4f V ",Vo2 )
|