Modeling and Analysis of Electric Motors