The past few years have witnessed an increase in the number of electric cars. In the year 2015, there were…