Bug SS-209
1 vote

Nonlinear Solvers: FindRoot() problem

Created by Martin Kraska on 8/30/2014 1:29 PM Last Updated by faren fatgas on 3/19/2026 7:24 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

FindRoots seems to be a bit affected by changes in SMath. The attached example works fine in 0.97.5154 but shows problems in 0.97.5346

0.97.5154

0.97.5346

    faren fatgas (Thursday, March 19, 2026 7:24 PM) #

Hey, I’ve worked in environments where document handling still mixes old and new systems, and what stood out to me was how much time gets lost when processes aren’t standardized or easy to review. While trying to keep track of different procedures and tools, I used https://freeflashcardmaker.net/ to convert my notes into simple flashcards so I could quickly revisit key comparisons without digging through long documents again and again. It made it easier to understand where certain workflows, like fax versus online solutions, differ in terms of efficiency and accessibility. Having that kind of quick-reference structure helped me think more clearly about whether switching systems would actually improve day-to-day operations or just add complexity.

    faren fatgas (Thursday, March 19, 2026 6:26 PM) #

Well, I hit a similar wall trying to calculate the exact convergence ratios for my own root-finding scripts last night. I stumbled upon this math word problem solver tool while looking for a way to break down the complex logic steps into something more readable for my documentation. It turned those confusing paragraphs of variable dependencies into a clear step-by-step solution that actually made sense in my final report. Now I can verify the math behind the code much faster without second-guessing every assignment.

    Alex Seen (Thursday, March 19, 2026 6:14 PM) #

It’s so frustrating when a software update suddenly breaks your legacy files, especially with something as specific as how variables like A and d are cleared. I’ve spent way too much time manually debugging calculation blocks in SMath just to find out a single reset command isn't triggering properly anymore. It makes you wonder if these "improvements" are actually just adding layers of complexity that we don't really need for standard engineering tasks.

 

    martinka (Friday, October 3, 2025 8:23 PM) #

It looks like the problem comes from the way variable A is being cleared. The solver treats only d as reset, and the same behavior shows up with FindRoot. In SMath version 0.97.5346, if I turn off the assignment for A, the calculation works as expected. I’ll dig deeper into if he's playing you, to see what’s really going on.

    Davide (Saturday, August 30, 2014 3:38 PM) #

The issue seems it is in how A is cleared... Unknowns recognize just d as cleared, the same for FindRoot... In SMath 0.97.5346 if I disable the assignment of A, I get the result. I'll investigate...