input: Write a function to generate a voltage signal with random noise using the given frequency and amplitude. The function should return the generated signal.
  assert np.isclose(generate_voltage_signal(250, 1)[0], 0.175, atol=0.1)
  assert np.isclose(generate_voltage_signal(100, 2)[0], 0.889, atol=0.2)
  assert np.isclose(generate_voltage_signal(500, 0.5)[0], -0.252, atol=0.25)
output: import numpy as np
  
  def generate_voltage_signal(frequency, amplitude):
      time = np.linspace(0, 1, 1000)
      signal = amplitude * np.sin(2 * np.pi * frequency * time)
      noise = np.random.normal(0, 0.1, signal.shape)
      return signal + noise