Hey everyone, I have a system of equations that is kind of complex, and would like to create a generic solution for it, but I am not sure if this is possible. I have 6 equations, and only 4 unknowns. These equations are describing a physical system, so there is a solution to the problem, and will always be a solution given the imputs from the physical system. All of the equations are of the form:
All 6 equations are in this form, with different coeeficients A through R. I have the equations for all the coefficients, and am only looking for theta1 through theta4. All the thetas should be between 0 and 2pi(). I would have what the angles actually are +/- 20 degrees. If I leave the system unconstrained in Maple, it crunches for a long time, but never finishes, when I give it the starting point +/- 20 degrees it can find it almost instantly. The problem I have is that I need a way to solve it without using any of the built in solve functions. I need to port this problem into C++ code, written by myself (can't be a library to solve nonlinear equations) because it will then be converted into machine code, and I can't include a library in that.
Any ideas on where I should go with this?