Python Forum
how can I solve fsolve function error?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I solve fsolve function error?
#4
In the stackoverflow thread you state that the 100k curve should look a lot like the 300k curve. I don't think that is true. Lowering the temperature not only lowers the compressibility, it also changes the shape of the curve, making it much sharper. It might be that fsolve is giving up because the equation is too non-linear and you are bouncing around but not getting any closer to the solution, or it could be that there is no solution. I noticed I can make the warning go away by starting with a really small starting value for V (0.000001). The resulting curve looks like a diagonal line to me. No jaggies and no curve.
Reply


Messages In This Thread
RE: how can I solve fsolve function error? - by deanhystad - Oct-14-2021, 07:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Conjugate Gradient having issues with defining A (function to solve [A]{x} = {b} ) DimosG 2 2,850 Sep-21-2021, 08:32 PM
Last Post: 1968Edwards
  how to solve "a bytes-like object is required, not 'str'" error maiya 2 3,826 Jul-28-2020, 07:03 PM
Last Post: bowlofred
  How to Solving non-linear equation using scipy.optimize fsolve with variable list djhak 3 4,592 Jun-10-2020, 04:12 PM
Last Post: Gribouillis
  How to solve a function and get x, y and z? TheZenMan 2 2,303 Mar-22-2019, 01:10 PM
Last Post: scidam
  fsolve Mahdi1994 0 3,244 Mar-26-2018, 01:42 PM
Last Post: Mahdi1994
  Defining an fsolve function to call later hegdep 1 3,093 Oct-25-2017, 07:38 AM
Last Post: hegdep
  Error in using the output of one function in another function (beginner) MadsPJ 6 5,064 Mar-13-2017, 03:06 PM
Last Post: MadsPJ

Forum Jump:

User Panel Messages

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