First time here? Check out the FAQ!
answered 8 years ago
It seems that P2 is not defined because log(cos(y) - 1) is not defined (logarithm of a nonpositive number).
log(cos(y) - 1)