<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def RMS_energy(frames):
 """Computes the RMS energy of frames"""

    f = frames.flatten()
    return N.sqrt(N.mean(f * f))