# How to calculate $L'(1,\chi)/L(1,\chi)$ in SAGE?

Question as in title, where $L(s,\chi)$ is the Dirichlet $L$-function associated with the nontrivial character modulo $3$. Please provide complete SAGE code. Thank you in advance.

-
Have you posted this on Sage's question/answer system, AskSage? Also, there's this: groups.google.com/forum/?fromgroups#!topic/sage-support/… –  process91 May 8 '12 at 19:30
Thank you, Michael, I will try there. –  Anonymous May 8 '12 at 20:11
Feel free to post back here if you get an answer there so we can close out this question. Someone here also might be able to answer your question, so it doesn't hurt to leave it open while it's still unanswered. –  process91 May 8 '12 at 21:05
Actually I managed to calculate the particular example "by hand", using that $L(1,\chi)=\sum\chi(n)/n$, $L'(1,\chi)=-\sum\chi(n)\log(n)/n$. Of course it would be nicer to use some built-in function for that purpose. –  Anonymous May 8 '12 at 21:14