How do I get the 2nd button to work with tangent?
What do you mean.
If you want inverse tan it is just 2nd tan
It may help if I tell you that inverse tan is the same as arc tan
tan-1 = atan