electric formula