Text this: Energy Dissipation-Based Method for Strength Determination of Rock under Uniaxial Compression