calculate-the-magnitude-of-the-output

calculate the magnitude of the output