an ideal ammeter and an ideal voltmeter are used. When the key is open