Re-entrant SOLVE and INTEG
|
12-20-2021, 01:10 PM
(This post was last modified: 12-20-2021 07:19 PM by Albert Chan.)
Post: #7
|
|||
|
|||
RE: Re-entrant SOLVE and INTEG
(12-19-2021 05:25 PM)Thomas Okken Wrote: That's not finding a root of a function defined using a root; that's finding a minimum of a function defined using a minimum. If we can ensure "inner" solver always find a root, we can avoid minimum search. With R2 ≥ R1 ≥ A, and COSH(X) ≥ 1, FNB(A) always find a root. 10 R1=.508 @ R2=.56 @ L=.5 @ B=0 20 DEF FNB(A) @ B=FNROOT(B,L,COSH((L-FVAR)/A)-R2/A) @ FNB=B 30 DISP A,B,FVALUE @ END DEF 40 A=FNROOT(R1,R2,COSH(FNB(FVAR)/FVAR)-R1/FVAR) 50 DISP A,B,FVALUE >RUN Code: .508 .272064726623 0 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Re-entrant SOLVE and INTEG - Thomas Okken - 12-15-2021, 06:39 PM
RE: Re-entrant SOLVE and INTEG - Paul Dale - 12-16-2021, 07:14 AM
RE: Re-entrant SOLVE and INTEG - Thomas Okken - 12-17-2021, 11:01 PM
RE: Re-entrant SOLVE and INTEG - Albert Chan - 12-18-2021, 12:16 AM
RE: Re-entrant SOLVE and INTEG - Thomas Okken - 12-19-2021, 05:25 PM
RE: Re-entrant SOLVE and INTEG - Albert Chan - 12-19-2021, 06:57 PM
RE: Re-entrant SOLVE and INTEG - Albert Chan - 12-20-2021 01:10 PM
|
User(s) browsing this thread: 1 Guest(s)