<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Excercises Electric Machinery Fundamentals
Chapter 9
Problem 9-9
Step1:  Description
How many pulses per second must be supplied to the control unit of the motor in Problem 9-8 to achieve
a rotational speed of 600 r/min?
Step2:  SOLUTION
From Equation (9-20),
$$n_m = \frac{1}{3p}n_\text{pulses}$$
<ASSISTANT_TASK:>
Python Code:
%pylab notebook
Explanation: Excercises Electric Machinery Fundamentals
Chapter 9
Problem 9-9
End of explanation
p   =  12 
n_m = 600 # [r/min]
Explanation: Description
How many pulses per second must be supplied to the control unit of the motor in Problem 9-8 to achieve
a rotational speed of 600 r/min?
End of explanation
n_pulses = 3*p*n_m
print('''
n_pulses = {:.0f} pulses/min = {:.0f} pulses/sec
============================================'''.format(n_pulses, n_pulses/60))
Explanation: SOLUTION
From Equation (9-20),
$$n_m = \frac{1}{3p}n_\text{pulses}$$
End of explanation
<END_TASK>