def get_cpu(t):
 return (100 * (0.5 + (0.5 * np.sin(((0.2 * np.pi) * (t - 0.25))))))

def get_cpu ( t ) : return ( 100 * ( 0.5 + ( 0.5 * np . sin ( ( ( 0.2 * np . pi ) * ( t - 0.25 ) ) ) ) ) )
simulate a function that returns cpu usage .