I don't think you necessarily need to have studied a lot of math to be successful in programming, but you will need it if you want to get a CS degree, which in turn can be a good lever to a fruitful programming career.
My advice when it comes to math - math skills build upon the concepts you're expected to have learned before, meaning that if you didn't fully get everything in the past, then your foundation is not in great shape and you will struggle at higher levels. Going back and repeating the fundamentals just so that you fully understand everything is very helpful in my experience.
I also think that understanding math is rewarding in itself, for what it's worth!
A surprising amount when it comes to Sweden, actually! I believe there's a significant educational gap here, with CPR courses trying to spread the word about resources on how to locate your nearest AED.
This applies to urban environments of course, with suburban and rural being a different story.
To answer the question I think you're posing - yes, this device could be useful in Sweden.