I have a system of seven nonlinear equations that I want to find their symbolic solutions. The solution will depend on the parameter K, and I should have different solutions by varying the parameter. I want the program to give the ranges of K and the solution associated with each value. I tried to solve the system using matlab symbolic toolkit. The code I used is:
syms K x y z u v w p;
eq1 = -2*x - 4*u*v + 4*y*p == 0;
eq2 = -9*y +3*x*p == 0;
eq3 = -4*z - 4*sqrt(2)*u*w + 4*sqrt(2)*w*p + 4*K == 0;
eq4 = -5*u + x*v + 3*sqrt(2)*z*w == 0;
eq5 = -v + 3*x*u - sqrt(5)*x*w == 0;
eq6 = -w + sqrt(5)*x*v + sqrt(2)*z*u - sqrt(2)*z*p == 0;
eq7 = -5*p - 7*x*y - 3*sqrt(2)*z*w == 0;
[x y z u v w p] = solve(eq1, eq2, eq3, eq4,eq5, eq6, eq7)
I run the code using matlab R2015b, and after running for abut 6 hours it either give an empty solution or stops working. Any advice?
syms
)? $\endgroup$