Post Reply 
Function - Find root
01-07-2022, 05:32 AM
Post: #10
RE: Function - Find root
(10-16-2021 01:59 PM)Albert Chan Wrote:  Example, F1(X) = X^2 - 2*X + 1

Depending on initiial guess around X=1, you might get root = 1, or extremum = 1
I would think returning extremum = 1 is better than “no root found”

Another example would be F1(X)=SIN(X)^2. From a floating-point perspective, what the numerical routines will generally (for X near non-zero multiples of π) observe is near misses (of zero) - extrema (minima, in this case).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Function - Find root - StephanP - 10-15-2021, 12:01 PM
RE: Function - Find root - Arno K - 10-15-2021, 02:03 PM
RE: Function - Find root - StephanP - 10-15-2021, 02:13 PM
RE: Function - Find root - StephanP - 10-15-2021, 02:23 PM
RE: Function - Find root - Albert Chan - 10-16-2021, 01:59 PM
RE: Function - Find root - Wes Loewer - 10-17-2021, 03:34 AM
RE: Function - Find root - jte - 01-07-2022 05:32 AM
RE: Function - Find root - jte - 01-07-2022, 05:44 AM
RE: Function - Find root - Arno K - 10-15-2021, 03:20 PM
RE: Function - Find root - Wes Loewer - 10-16-2021, 01:31 PM
RE: Function - Find root - jte - 01-07-2022, 03:38 AM
RE: Function - Find root - ObiWanKenobi - 01-10-2022, 02:49 PM



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