blob: af876369b0fe1e7028cab111215aeae4d279c289 (
plain)
1
2
3
4
5
6
7
8
9
|
//7.2
clc;
Rth=50*15/(50+15);
I=20*10^-3;
Vzb=14.8;
Vt=0.85;
V=Rth*I;// Voltage drop across the thevenin's resistance
Vi=V+Vzb+Vt;
printf("The value of input voltage Vi=%.3f V",Vi)
|