Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

DefiniteIntegral is a first-order rule, and is NaN where an endpoint is singular

Đang mở
#1,675 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
backend

Hướng nghiên cứu

Start at Entity.DefiniteIntegral(x, a, b, steps) and trace its implementation and the MCP server (amcli mcp). Check x^2 on [0, 1] and the singular-endpoint cases sin(x)/x and ln(x) at the stated intervals and step counts. Done means endpoint singularities no longer produce NaN, integration accuracy improves, and MCP output reports only digits agreed between runs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Entity.DefiniteIntegral(x, a, b, steps) is a rectangle rule. On x^2 over [0, 1] its error is 1.67e-4 at 1000 steps, 8.3e-5 at 2000 and 4.2e-5 at 4000: it halves with each doubling. The value is still printed to a hundred digits, nearly all of them wrong. Simpson's rule costs the same evaluations, is exact on this integrand, and its error on a smooth one falls sixteenfold per doubling.

It also evaluates both endpoints, so a convergent integral with a singular endpoint has no value. sin(x)/x over [0, 1], which is Si(1) = 0.946083..., and ln(x) over [0, 1], which is -1, are both NaN. A midpoint or Gauss–Legendre rule never evaluates an endpoint.

The MCP server (amcli mcp) runs it at two step counts and reports only the digits the two agree on.

Ngôn ngữ chính
C#
Star
831
Fork
79
Merge trung bình
2 giờ 22 phút
Pull request đã merge (30 ngày)
507

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ASC-Community/AngouriMath

Tất cả issue của ASC-Community/AngouriMath

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.