iB=150*(10^(-6));
(*iB=1.5*(10^(-4))*)
β=80;
rC=220;
u2=10;
iC=iB*β//N

uRC=iC*rC

uCE=u2-uRC

pRC=uRC*iC

pT=0.7*iB+uCE*iC

ClearAll["Global`*"]
u1=6;
u2=18;
rB=56000;
rC=1500;
β=70;
uBE=0.7;
uRB=u1-uBE

iB=(uRB/rB)

iC=iB*β

uRC=iC*rC

uCE=u2-uRC

pRC=iC*uRC

pT=iB*uBE+iC*uCE

icc=(u2/rC)//N

ClearAll["Global`*"]
u1=5;
u2=12;
rB=100000;
rC=3300;
β=110;
uBE=0.7;
uCE=0.2;
uRB=u1-uBE

iB=(uRB/rB)

uRC=u2-uCE

iC=(uRC/rC)

pRC=iC*uRC

pT=iB*uBE+iC*uCE

0.0007452515151515152`
iB*β

icc=(u2/rC)//N

0.0036363636363636364

(*tranzistor je v saturaci - omezuje nas rezistor lol*)

(*#4) unipolarni tranzistor, mezi gate a source netece proud*)
ClearAll["Global`*"]
u1=8;
u2=12;
r1=150000;
r2=220000;
rD=470;
uTH=2.5;
k=2*(10^(-3));

uGS=u1*(r2/(r1+r2))//N

iD=k*((((uGS-uTH))^2)/2)

uRD=iD*rD

uDS=u2-uRD

pRD=iD*uRD

pT=iD*uDS