I recently wrote a program to find the side lengths and angle measures of a triangle. It asks your for the angles and sides you know and solves for the ones you don't know using basic trig(if enough information is present). It works perfectly in the computer program, but in when I transfer it to my handheld nspire it displays the answers in terms of my variables and cosines. When I change it to approximate mode I get the error message "a variable did not resolve to true or false" and I have no idea why this happens. I contacted tech support and they didn't help me to much, the guy kept repeating they don't help programming. My calculator is up to date, so I'm wondering if there is a difference between the student software and the handheld that would mess with the program?

Transfer to handheld problem