I have seen a lot of calculations where they take GAIN as 10 or 20 instead of the original value in the datasheet.For example 2n2222 transistor
VCC = 5 ,Led(Vf = 3v).
For Ic = 20mA,Rc = [VCC-VF(LED)-VCE(SAT)]/Ic = [5-3-0.25]/20mA = 87 ohms.
Ib=Ic/Gain = 20mA/110 = 0.18mA
Rb = [Vcc-Vbe]/Ib = [5-0.83]/0.18mA = 23k ohms.
If my calculations are right,i took gain as 110 as per the datasheet.but some people take gain as 10 or 20 ... i want to know why is that ?????