A transistor can be used as an ideal controlled switch when the book explicitly defers device curves and gain. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.

highlighted = computed this step

The control voltage is checked against threshold

The control is 5 volts and the threshold is 3 volts, so the ideal switch is closed.

5 V>3 V5\ \text{V} > 3\ \text{V}
Controlled switchThe control comparison sets the switch state.12 Vclosed4 ohmA3 A3 A+-12 Vcontrolonload

A closed path sets the load current

With a 12 volt source and a 4 ohm load, the checked current is 3 amperes. This is only an ideal switch model; transistor gain and bias are deferred.

I=VR=12 V4 ohm=3 AI = \frac{V}{R} = \frac{12\ \text{V}}{4\ \text{ohm}} = 3\ \text{A}
Controlled switchThe current is computed only after the path closes.12 Vclosed4 ohmA3 A3 A+-12 Vcontrolonload