text: import numpy as np
  
  Time = np.array([6, 8, 11, 14, 16, 18, 19])
  Temp = np.array([4, 7, 10, 12, 11.5, 9, 7])
  
  import matplotlib.pyplot as plt
  plt.figure()
  plt.plot(Time, Temp, 'bo')
  plt.xlabel("Time")
  plt.ylabel("Temp")
  plt.title('Temperature versus time')
  plt.show
  
  beta = np.polyfit(Time, Temp, 2)
  p = np.poly1d(beta)
  
  xp = np.linspace(6, 19, 100)
  plt.figure()
  plt.plot(Time, Temp, 'bo', xp, p(xp), '-')
  plt.xlabel("Time")
  plt.ylabel("Temp")
  plt.title('Temperature versus time')
  plt.show