You can use sympy, Python’s symbolic math library.
from sympy import solve
from sympy.abc import C
print(solve(1298 + 74.86 * C + 1.283 * C ** 2 - .0078 * C ** 3 - .0006 * C ** 4))
# result: [-28.2719434096994, 62.3383358961427, -23.5331962432216 - 25.9550273611766*I, -23.5331962432216 + 25.9550273611766*I]
0
solved How to solve this equation [closed]