The potentially valuable aspect of studying high school math isn’t learning to solve certain random types of problems. It’s learning to think clearly about deceptively-simple concepts. In doing this you learn to attack problems, generalize techniques, define concepts, make convincing arguments, and find counterexamples. If you need to know the quadratic formula for some weird reason, then all you need to do is look it up. The skills listed above aren’t just useful to scientists, but to lawyers, writers, doctors, etc