clc clear N1=250; D1=53; D2=32; N2=N1*(D1/D2); printf('Speed of shaft: %2.2f RPM',N2); printf('\n');