My TI 89 Platinum is returning ln(abs(cos(x))/abs(sin(x)-1)) for integral sec(x)dx. It's supposed to return ln(abs(tan(x)+sec(x)) or ln(abs(sin(x)+1)/abs(cos(x))). If you enter x=0, you get 'undefined' the way my TI 89 is doing it. It's supposed to return 0. Is this a computation error or something with the syntax of how TI Basic computes integrals?