Hey guys I am trying to solve this math problem
Using data in a car magazine, we constructed the mathematical model
y=100e^(-0.0482t)
for the percentage of cars of a certain type still on the road after t years. Using Python, determine the rate of change of the percent of cars still on the road after 5 years.
I came up with this code but I keep getting a syntax error
from sympy import *
import numpy as np
x= Symbol('X')
y= 100*exp(-0.0482X)
yprime=y.diff(x)
yprimerep=y.diff(5)
print (yprime)
print (yprimerep)
Error: line 4 y= 100*exp(-0.0482X) ^ SyntaxError: invalid syntax
Do you know what is wrong here? Either with my math or with my code?