How To Calculate Electrical Diversity