Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #34186: Problem translating Fricas special function ellipticF to…
… Sagemath For reference: https://trac.sagemath.org/ticket/34058 There is still an issue with translation of Fricas special functions to Sagemath. Using sagemath 9.7 beta 5, Fricas returns antiderivative which has `ellipticF` but this remains as is at Sagemath. But Sagemath has no such special function. It should be `elliptic_f` {{{ >./sage ┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 9.7.beta5, Release Date: 2022-07-10 │ │ Using Python 3.10.5. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Warning: this is a prerelease version, and it may be unstable. ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ sage: var('a b c x d') (a, b, c, x, d) sage: integrate((b*x^2+a)^(1/2)*(d*x^2+c)^(1/2),x, algorithm="fricas") 1/3*((b*d^2*x^2 + b*c*d + a*d^2)*sqrt(b*x^2 + a)*sqrt(d*x^2 + c)*sqrt(b*d)*sqrt(-c/d) - (b^2*c^3 + a*b*c^2*d + 2*a*b*c*d^2)*x*ellipticF(sqrt(-c/d)/x, a*d/(b*c)) + (b^2*c^3 + a*b*c^2*d)*x*elliptic_e(arcsin(sqrt(-c/d)/x), a*d/(b*c)))/(sqrt(b*d)*b*d^2*x*sqrt(-c/d)) sage: ?ellipticF Object `ellipticF` not found. }}} Thank you --Nasser URL: https://trac.sagemath.org/34186 Reported by: gh-nasser1 Ticket author(s): Martin Rubey Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
- Loading branch information