Python Forum
fsolve 3 equations with 3 unknowns. Can't get an answer.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
fsolve 3 equations with 3 unknowns. Can't get an answer.
#3
I've merged these threads. Please don't post duplicates. If no one is replying, "bump" the thread by replying to it, and if you still don't get an answer, it usually means you need to either do more research or simplify / elaborate on your problem more. (In this case, you say changing the input doesn't change the output, but you didn't provide samples for us to work against. The monstrous equations also made me glance over your thread before, but more on that below.)

I started digging in but I'm about to have to go so apologies for not being more helpful than this: take a look at the documentation for fsolve. I'm not already familiar with it, but it appears that you're providing start values, not really an input, so it actually makes sense to me that providing different inputs produces the same output (unless I'm misunderstanding, which I totally might be, but please elaborate on that). What you might want to do is try using fsolve on a simpler function (e.g. x=y or a simple quadratic or something), and see if you can reproduce your concern that way. It's often a valuable debugging skill to reproduce the issue more simply, resolve that one, and apply that knowledge to the original problem.
Reply


Messages In This Thread
RE: fsolve 3 equations with 3 unknowns. Can't get an answer. - by micseydel - Mar-17-2018, 07:36 PM
3 variables and 3 unknowns - by Aron313 - Mar-17-2018, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Solve a system of non-linear equations in Python (scipy.optimize.fsolve) drudox 7 22,833 Aug-18-2018, 02:27 AM
Last Post: scidam
  class for ODE, scipy how to switch from fsolve to newton or newton_krylov drudox 0 2,395 Aug-16-2018, 05:12 PM
Last Post: drudox

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020