Calculate the spring rate (stiffness) of a helical compression spring based on its material, wire diameter, coil diameter, and number of active coils.
The spring rate, also known as spring constant (k), is a measure of a spring's stiffness. It represents the force required to compress or extend the spring by a certain distance. A higher spring rate means a stiffer spring.