Calculate the base resistor needed to drive a BJT transistor into saturation for switching applications.