your procedure is perfect, you're fine, however, bear in mind that, in a calculator when plugging in values for some functions, specially trigonometric ones, if you tell it cos(40), and the calculator is in Radian mode, it thinks you meant cosine of 40 radian units, if you give it cos(40) and it's in Degree mode, it thinks you meant 40°, and 40 radians is hugely different than 40°.
so, make sure your calculator is in Degree mode, as you'd have guessed, it isn't.