Attack-defense counterwork modeling and simulation of ballistic missile Dynamic analysis, modeling and simulation of electric machine