how do you do the inverse of sin or cos
On this calculator, use the buttons labeled asin, acos, and atan for all of those needs.
HINT: Press the shift button and click the sin, cos, or tan buttons to get asin, acos, or atan respectively.