This is how my teacher drew the potential divider. And told that the energy lost by the resistor is equal to the energy given to the components on the branch. Or the voltage of the resistor is equal to the voltage given to the components in the branch. How does the energy of the resistor go to the components??I thought energy is lost as heat.