I am very new to coding and must solve this particular equation with python for a project. (It's not for credit. It's just for my understanding.) please note: I know how to solve the equation by hand and I don't need to learn the solution. I need to learn how to make my code work.
I cannot find the error in my code. I assume there is one because I keep getting the same error. Does anyone know how to fix this or to do it better?
Thank you very much for your help.
Below is the error and the code that I am using.
Error:
NotImplementedError: multiple generators [x, sin(x3)] No algorithms are implemented to solve equation x3 + 4x - 6sin(x**3) - 1 + 0
import numpy as np
import sympy as sy
x = sy.symbols("x", real=True)
u = sy.symbols("u", real=True)
u = x**3
eq1 = sy.Eq(u - 6*sy.sin(u) + 10*x - 6*x -1, 0)
eq1
sol1 = sy.solve(eq1, x)
print(sol1)