Groups
Sign in
Groups
sympy
Conversations
About
Send feedback
Help
Wrong results. (Integral, Trigonometric function(sin, cos), Absolute value)
69 views
Skip to first unread message
M Kamimura
unread,
Oct 17, 2018, 5:59:54 AM
10/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
My calculation results are 14, but sympy's calculation results are 2 and 4.
https://www.mkamimura.com/2018/10/python-javascript_17.html
Is it my mistake, or sympy's bug?
Oscar Benjamin
unread,
Oct 17, 2018, 8:35:26 AM
10/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
It's a bug:
In [4]: abs(sin(x)).integrate((x, 0, 8*pi))
Out[4]: 4
In [5]: abs(sin(x)).integrate((x, 0, 4*pi))
Out[5]: 4
In [6]: abs(sin(x)).integrate((x, 4*pi, 8*pi))
Out[6]: 0
--
Oscar
M Kamimura
unread,
Oct 17, 2018, 11:55:41 AM
10/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Thank you.
I add a bug report into the
issue
.
2018年10月17日水曜日 21時35分26秒 UTC+9 Oscar:
Reply all
Reply to author
Forward
0 new messages