//problem 2.1 clc; clear; close; //given data : P=8;//No. of poles f=50;//in Hz Ns=120*f/P;//in rpm disp(Ns,"Synchronous speed in rpm : ");