i think a find out a bug

25 views
Skip to first unread message

santiago gonzalez

unread,
May 11, 2021, 1:54:49 PM5/11/21
to sympy
When I was doing my homework at the university, I got a result that I did not expect, checking my code well, I found a bug. It turns out that the script of a function gave me wrong, at first I thought it was wrong, but after doing the derivative by definition I realized that the library gave me the wrong derivative,
I show the screenshot for more details.
the sympy version used is 1.7.1
Sin título.png

Chris Smith

unread,
May 11, 2021, 4:59:39 PM5/11/21
to sympy
`ln` and `log` are synonyms for the natural logarithm function:

>>> ln == log
True
>>> log(E),ln(E)
(1, 1)
>>> log(100, 10)
2
Reply all
Reply to author
Forward
0 new messages