ac power analysis problems and solutions