mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-25 23:33:48 +00:00
Upgraded AngouriMath to v2.8.0 (#1235)
This commit is contained in:
1 parent
fae3ceb840
commit
506c06fbfc
24 files changed
+974
-105
No files matched your search
@@ -84,6 +84,21 @@ public static class MathematicsChecks
|
||||
["right/expression"] = "pi ^ 4 / 15",
|
||||
});
|
||||
|
||||
//
|
||||
// The special functions which solving, integrating, and differentiating return, evaluated and compiled:
|
||||
//
|
||||
Expect(failures, "calculate lambertw(0, 2) + polygamma(1, 1) + gamma(2, 1)", Calculation("lambertw(0, 2) + polygamma(1, 1) + gamma(2, 1)", 20), new()
|
||||
{
|
||||
["decimal"] = "3.233298451204836571",
|
||||
["digits"] = "20",
|
||||
});
|
||||
|
||||
Expect(failures, "check the integral of lambertw(0, x) + polygamma(1, x) from 1 to 2", Calculation("integral(lambertw(0, x) + polygamma(1, x), x, 1, 2) = 2*(lambertw(2) - 1 + 1/lambertw(2)) - (lambertw(1) - 1 + 1/lambertw(1)) + 1", 20), new()
|
||||
{
|
||||
["numerically_equal"] = "true",
|
||||
["left/approximate"] = "true",
|
||||
});
|
||||
|
||||
//
|
||||
// The symbolic operations, each with its numerical check:
|
||||
//
|
||||
@@ -136,6 +151,16 @@ public static class MathematicsChecks
|
||||
["verification"] = "passed",
|
||||
});
|
||||
|
||||
//
|
||||
// A family of solutions, which takes the membership of its index set:
|
||||
//
|
||||
Expect(failures, "solve 2^x = 5", Symbolic(SymbolicOperation.SOLVE, "2^x = 5"), new()
|
||||
{
|
||||
["solutions/0/holds_for"] = "every integer n",
|
||||
["solutions/0/at_index_0/decimal"] = "2.32192809488736",
|
||||
["verification"] = "passed",
|
||||
});
|
||||
|
||||
return failures;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user