The present invention relates to an electrical machine for attaining varying torque at different speeds in vehicles by using switch combinations. The electrical machine comprises a coil with multiplesections C1, C2, C3, C4, C5, C6 connected such that all sections are in a series configuration to increase the Kt and some of the sections C1, C2, C3, C4, C5, C6 are connected in parallel to reduce the Ke. This increases the no-load speed during the motoring mode and reduces the voltage generated by the machine during the generation mode, by using switch arrangements. When the sections C1, C2, C3,C4, C5, C6 are connected in parallel, it reduces the resistance of each phase thereby reducing the copper losses and thus improves the efficiency of the machine. The applications are in integrated starter generator (ISG) system of any vehicles to provide high starting torque and to generate less voltage at high rpm. Also, can be used in any motor to provide torque to the vehicle at higher speeds.