The above formula is for finding an angle when converting from rectangular to polar. I'm not sure how to get the tan-1 right. Have tried some different configurations but no luck. I've used this before with a scientific calculator and it worked great. Has anyone used this with basic4ppc? Any help would be appreciated.