Dynamic Stiffness for Structures with Distributed Deterministic or Random Loads