blob: 40db4d6c0b22bcef4c87a1053ce37910353d7405 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//ex2.19
R1= 20 //Ohms
R2= 15 //ohms
vs= 15 //V
R3= 5 //Ohms
k= 0.25
///CALCULATIONS
voc= (R2/R1)/((1/R1)+(1/(R2+R3))+(k/4))
isc= vs/R1
Rf= voc/isc
//RESULTS
printf ('Rf = %.2f ohms',Rf)
|