Post Reply 
Prime crashes upon fsolve
11-09-2020, 07:33 PM (This post was last modified: 11-09-2020 07:36 PM by trojdor.)
Post: #5
RE: Prime crashes upon fsolve
EDIT: I see roadrunner beat me to the draw, while I was typing. Smile

I suspect you'll find that giving the solver an initial guess of 1 for the variables will stop the crashing on all version of the Prime.

Either:
Code:
fsolve([(a^2) = (b^2+c^2),b = (ABS((4/3)*c)),a = 7.112],[a,b,c],[1,1,1])
or
fsolve({(a^2) = (b^2+c^2),b = (ABS((4/3)*c)),a = 7.112},{a,b,c},{1,1,1})
depending on your notation preference.

Conversely, if you want to watch them all crash, use an initial guess of 0 for the variables.

(Of course, you could/should also make the initial guess for 'a' equal to it's actual value of 7.112, but I'm just lazy, lol....and just using 1 works, so...)

ENTER > =
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Prime crashes upon fsolve - emax - 11-09-2020, 08:48 AM
RE: Prime crashes upon fsolve - DA74254 - 11-09-2020, 12:19 PM
RE: Prime crashes upon fsolve - emax - 11-09-2020, 01:45 PM
RE: Prime crashes upon fsolve - roadrunner - 11-09-2020, 06:55 PM
RE: Prime crashes upon fsolve - trojdor - 11-09-2020 07:33 PM
RE: Prime crashes upon fsolve - emax - 11-10-2020, 04:40 PM
RE: Prime crashes upon fsolve - roadrunner - 11-10-2020, 06:09 PM
RE: Prime crashes upon fsolve - emax - 11-10-2020, 06:22 PM



User(s) browsing this thread: 1 Guest(s)