Kirchhoff practice problem1 solution