We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sin(acos((98 - 14*cos(pi**2/2160))/(14*sqrt(50 - 14*cos(pi**2/2160))))) gives 0, but it is not 0.
sin(acos((98 - 14*cos(pi**2/2160))/(14*sqrt(50 - 14*cos(pi**2/2160)))))
0
The text was updated successfully, but these errors were encountered:
The problem is that this incorrectly evaluates to 0 under evalf:
evalf
In [3]: a = acos((98 - 14*cos(pi**2/2160))/(14*sqrt(50 - 14*cos(pi**2/2160)))) In [4]: a.evalf(2) Out[4]: 0 In [5]: a.evalf(3) Out[5]: 0.000691
Sorry, something went wrong.
Add regression test
ee5af4d
Closes sympy/sympy#24390
No branches or pull requests
sin(acos((98 - 14*cos(pi**2/2160))/(14*sqrt(50 - 14*cos(pi**2/2160)))))
gives0
, but it is not0
.The text was updated successfully, but these errors were encountered: