I am developing some engineering simulations. This involves implementing some long equations such as this equation to calculate stress in a rubber like material:
If you have a Nvidia CUDA graphics card, you could consider offloading the calculations to the graphics card - which itself is more suitable for computationally complicated calculations.
https://developer.nvidia.com/how-to-cuda-c-cpp
If not, you may want to consider multiple threads for calculations.