PYTHON CODING
Please show all work using Python coding:
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import sympy as sy
# The DataFrame below contains estimated percentage of the population of Europe using cell phones
# Use the data to determine the average rate of change from 1998 to 2000.
# Estimate the instantaneous rate of change in 2000.
data = {'Year': [i for i in range(1998, 2004)], 'P': [28, 39, 55, 68, 77, 83]}
df = pd.DataFrame(data)
df
Year P
0 1998 28
1 1999 39
2 2000 55
3 2001 68
4 2002 77
5 2003 83