Example: 44' 6' 51'
Use the fact that 44º 6' 51'' can be written as (44 + 6/60 + 51/3600)º
so you could just enter cos(44+6/60+51/3600) directly into the calculator.
.
Oh yeah thanks for pointing that out. I totally forgot I could do that. Take care. :D