• If I left out the parentheses the answer would have been 20 instead of 14

    Did you get that answer from the Windows calculator? That’s a bug in “Standard” mode. You need to put it in Scientific mode to get the right answer (I guess no-one has noticed that the “standard” mode is wrong, cos no-one uses it usually).