Search found 893 matches

by Thomas Okken
Wed May 24, 2023 11:16 pm
Forum: Usage tips, tricks and problem reports
Topic: Precision of SOLVER ?
Replies: 14
Views: 4876

Re: Precision of SOLVER ?

Well, feel free to ask SM to change INTEG to use tanh-sinh quadrature, or whichever algorithm it is you prefer.
I know I'm not going to. 🤷‍♂️
by Thomas Okken
Wed May 24, 2023 4:07 pm
Forum: Usage tips, tricks and problem reports
Topic: Precision of SOLVER ?
Replies: 14
Views: 4876

Re: Precision of SOLVER ?

The integrator can be slow to converge, and using the solver on such an integral is going to be even slower, obviously. I am aware of numerical integration algorithms that tend to converge faster than the one used in Free42, but I remain unconvinced that the speed improvement is worth the increased ...
by Thomas Okken
Tue May 23, 2023 7:13 pm
Forum: Usage tips, tricks and problem reports
Topic: Precision of SOLVER ?
Replies: 14
Views: 4876

Re: Precision of SOLVER ?

The function contains a RND. That's the cause of your display mode sensitivity right there.
by Thomas Okken
Mon May 22, 2023 6:28 pm
Forum: Usage tips, tricks and problem reports
Topic: Precision of SOLVER ?
Replies: 14
Views: 4876

Re: Precision of SOLVER ?

Apart from functions that display numbers or convert them to strings, the only functions whose behavior is influenced by the display mode are RND, TRUNC, and AMORT. Thanks, Thomas. Though what's the stop condition for the Solver unless it finds a root directly? I.e. if the last two approximations r...
by Thomas Okken
Sun May 21, 2023 9:48 pm
Forum: Usage tips, tricks and problem reports
Topic: Precision of SOLVER ?
Replies: 14
Views: 4876

Re: Precision of SOLVER ?

Apart from functions that display numbers or convert them to strings, the only functions whose behavior is influenced by the display mode are RND, TRUNC, and AMORT.
by Thomas Okken
Fri Apr 14, 2023 1:08 pm
Forum: DM42
Topic: Upcoming FUNC change
Replies: 4
Views: 2595

Re: Upcoming FUNC change

Actually, FUNC makes sense in a 4STK environment but much less so in NSTK, except to make cleanup (and LASTX restore) unnecessary. True, but I implemented FUNC before the big stack. And then there's the combination of FUNC and LNSTK or L4STK, to allow 4-level and n-level code to interoperate. The w...
by Thomas Okken
Thu Apr 13, 2023 11:47 pm
Forum: DM42
Topic: Upcoming FUNC change
Replies: 4
Views: 2595

Upcoming FUNC change

I am currently working on redesigning the behavior of FUNC. In its current incarnation, I think FUNC has two flaws: it's over-complicated internally, and it doesn't do a good job of protecting the caller's state in NSTK mode. In 4STK mode, I think the way FUNC currently works is fine. A function usi...
by Thomas Okken
Wed Apr 12, 2023 11:52 pm
Forum: Usage tips, tricks and problem reports
Topic: Display updates while solving
Replies: 2
Views: 2149

Re: Display updates while solving

It's mentioned in the HP-42S manual, page 186, "How the Solver Works."
by Thomas Okken
Thu Apr 06, 2023 7:12 pm
Forum: Usage tips, tricks and problem reports
Topic: .END. in programs
Replies: 7
Views: 2813

Re: .END. in programs

rudi wrote:
Tue Mar 28, 2023 5:33 am
Why bother about the .END. in the first place?
It just makes things a lot easier, both in terms of the calculator's internals and in terms of the user interface, if it is enforced that there is always at least one program in memory. And that's what the .END. is for.
by Thomas Okken
Thu Apr 06, 2023 7:09 pm
Forum: Usage tips, tricks and problem reports
Topic: The unused top function key
Replies: 30
Views: 23752

Re: The unused top function key

I don’t quit the CUSTOM menu. The calculator does. In fact, the real problem is that this menu is not an application menu. It’s a function menu. So when the user calls another menu (like CLEAR or CONVERT), the calculator goes back to NO menu instead of CUSTOM. The best way to implement permanent CU...