summaryrefslogtreecommitdiff
path: root/3630/CH4/EX4.3/Ex4_3.sce
blob: c8877df7ce05ac49a0e065c7bffcc68a42e185d8 (plain)
1
2
3
4
5
6
7
8
clc;
Vf=0.7; //volt
Vin=10; //volt
VRs=Vin-Vf; //volt
RL=1200; //ohm
Rs=220; //ohm
VL=-Vin*(RL/(RL+Rs)); //volt
disp('Vpk',VL,"VL=");//The answers vary due to round off error