After reading various answers here on StackExchange (like Why is the methyl group electron-donating via the inductive effect? and Strongest negative inductive effect group between trimethylammonium, ammonium and dimethylsulfonium groups), I am repeatedly seeing that -CH3 is electron donating through hyperconjugation. Otherwise is is electron withdrawing. So when comparing the acidic nature of the above two compounds, should we use electron withdrawing or electron donating nature of the methyl group?
Also will there be a difference if there is a normal cyclohexane instead of the conjugated benzene.