Problem:

Find the second derivative of the following function:

$e^{9-x} \cos \left(\frac{x}{2}+7\right)$

import math

from sympy import *

x = symbols('x')
f = math.e**(9-x)*cos((x/2)+7)
print(diff(f, x, 2))
