Question

can you solve problem 26.18 in PHYS textbook?

i found everything when the switch is closed but i am not sure how to find them when the switch is open