I am trying to solve a system of non-linear equations as follows in Python:
A-B*x1^4+C(x2-x1)+C+D=0
E(x1-x2)+F(x3-x2)+G(x3^4-x2^4)+I=0
J(x2-x3)+K(x4-x3)+L(x3^4-x2^4)+M=0
N-P*x4^4+Q(x3-x4)+R+S=0
where x1,x2,x3,x4 are the 4 unknowns and A, B, C,...., S either depends as a function of some input values or constant values.
I am trying to find the values of x1,x2,x3,x4.