input: def generate_voltage_signal(frequency: int, amplitude: float) -> np.ndarray:
      """ Generate a voltage signal with random noise based on the given frequency and amplitude.
      >>> generate_voltage_signal(250, 1)
      array([ 0.70483893,  0.21427359, -0.56473066, ...,  0.98902792,  0.58719761, -0.03118708])
      """
      t = np.linspace(0, 1, 1000)
      voltage_signal = np.sin(2 * np.pi * frequency * t) + np.random.normal(0, 0.1, 1000)
      return voltage_signal
output:     t = np.linspace(0, 1, 1000)
      voltage_signal = amplitude * np.sin(2 * np.pi * frequency * t) + np.random.normal(0, 0.1, 1000)
      return voltage_signal