

Hopefully that would be fast and correct for the kinds of systems that you will give it. Then your function would use that result to either print out that there are no solutions or it would give your system and variables to NSolve and return the result from that. You would craft your function to use NMinimize on a modified version of your system that it creates that is similar to what I have shown several times and with a suitably large number of iterations so that it would likely find one solution if any exists. Perhaps you could try writing your own function which would accept a system of equations and a list of variables. Unfortunately I do not know of an available Mathematica function which accept an arbitrary system of equations and will always rapidly and correctly either give you all solutions or tell you that there is no solution. Finance, Statistics & Business Analysisįor your four equation system you demonstrate that NSolve is successful In:= NSolve[īut I need this last one as this gives f(x1+iy1)=1.2(-13),and f(x2+i y2)=3.5(-12) accuracy.Wolfram Knowledgebase Curated computable knowledge powering Wolfram|Alpha. Wolfram Universal Deployment System Instant deployment across cloud, desktop, mobile, and more. Wolfram Data Framework Semantic framework for real-world data.
