Unified approach to classical speed limit and thermodynamic uncertainty relation.