A trigonometric over a symbolic quadratic with a double root is NaN everywhere
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
The bug is in SolveATrigonometricOfALinearOverAPowerOfALinear, which splits the quadratic over its two roots without checking whether the discriminant is zero. Start there, then reproduce the two inputs from the table with ToEntity().Integrate("x"). Done means the double-root case returns a finite antiderivative that passes the exact check at x = -3/10 and 4/5 with a = 3/2.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A sine or cosine over a quadratic with symbolic coefficients and a double root is answered with an expression whose value is NaN everywhere.
| Input | 2.5.0 | master 7df66948 |
|---|---|---|
"sin(x)/(a*x^2 + 2*a*x + a)".ToEntity().Integrate("x") |
integral(...) |
644 characters, NaN at every point |
"sin(a + b*x)/((c + d)*x^2 + 2*(c + d)*x + (c + d))".ToEntity().Integrate("x") |
integral(...) |
1,128 characters, NaN at every point |
SolveATrigonometricOfALinearOverAPowerOfALinear splits the quadratic over its two roots, (-m ± sqrt(m^2 - 4 l n))/(2 l), without noticing that the discriminant is identically zero. The partial fractions then divide by the difference of two equal roots. The exact check gives NaN at x = −3/10 and 4/5 with a = 3/2. The fix reads a double root as the linear x + m/(2 l) twice.
Part of #718
- Ngôn ngữ chính
- C#
- Star
- 831
- Fork
- 79
- Merge trung bình
- 2 giờ 17 phút
- Pull request đã merge (30 ngày)
- 443
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ASC-Community/AngouriMath
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
ASC-Community/AngouriMath#1885 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ASC-Community/AngouriMath#1883 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ASC-Community/AngouriMath#1807 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ASC-Community/AngouriMath#1692 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ASC-Community/AngouriMath#1690 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ASC-Community/AngouriMath
Issue tương tự
-
area-signalr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
dotnet/aspnetcore#69842 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug needs-triage
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 78/100
microsoft/microsoft-ui-reactor#1373 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Client customer-reported KeyVault needs-team-attention question Service Attention
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Azure/azure-sdk-for-net#63861 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
:watch: Not Triaged dotnet-csharp/svc fundamentals/subsvc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày