blob: a63188dab1036165ea155e0ee8d0a276e6c845ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
vb=13.2;
vg=14.4;
rb=0.3;
rg=0.2;
rl=0.68;
in=vb/rb+vg/rg;
rn=rb*rg/(rb+rg);
i=in*rn/(rn+rl);
disp("the load current (in A) is"); disp(i);
v=i*rl;
disp("the load vltage (in V) is"); disp(v);
|