- summary: Illegal log kernel: log(cos(th)) @ %pi/2 --> Taylor Illegal log kernel: log(cos(th)) @ %pi/2
taylor(log(cos(th)),th,%pi/2,2)
gives the internal error Illegal log kernel
but taylor(log(-sin(th)),th,0,2), which is equivalent,
gives a perfectly reasonable result.
Logged In: YES
user_id=1797506
Originator: NO
Fixed in hayat.lisp rev 1.31...
(%i7) taylor(log(cos(th)),th,%pi/2,2);
(%o7) log((2*th-%pi)/2)+log(-1)-(th-%pi/2)^2/6
... though still not all cases are handled ....
(%i8) taylor(log(log(cos(th))),th,%pi/2,2);
Maxima encountered a Lisp error:
Unhandled kernel in tvar-lim
Log in to post a comment.