Libraries required to run the code

  • matplotlib
  • numpy