Maxima says elliptic_f(2,1) is log(tan(%pi/4+1)). That's not right because elliptic_f(%pi/2,1) is infinity.
elliptic_f(x,1) also simplifies to log(tan(%pi/4+x/2)), but that's only corrrect if abs(x) <= %pi/2.
Not sure what to do about the latter, but for numeric arguments, we should either return infinity or an error.
Log in to post a comment.