I'm trying to solve the below simple differential equation with Sympy
import sympy as sp
x, y = sp.symbols('x, y', cls= sp.Function)
t = sp.symbols('t')
m = 5
a = -9.8
eq1, eq2 = sp.Eq(y(t).diff(t,2),m*a), sp.Eq(x(t).diff(t,2),0)
sp.dsolve((eq1,eq2))
But I get an error saying local variable 'gsol1' referenced before assignment. What would be the problem?