How to Find the Ionic Charge for Transition Metals