Symbolics.jl icon indicating copy to clipboard operation
Symbolics.jl copied to clipboard

Error on integrate with SymbolicNumericIntegration. ERROR: Failed to apply rule

Open nasser1 opened this issue 2 years ago • 0 comments

Julia Version 1.8.0 (2022-08-17) with Symbolics v4.10.4 and SymbolicNumericIntegration v0.8.5

I do not know if this was reported before or not. If it was, feel free to delete this.

>julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Symbolics
julia> using SymbolicNumericIntegration
julia> @syms x
julia> anti,n_unsolved,residual_error = integrate(1 / (((2 + 3x)^(1//2))*((2 - 3x)^(1//2))*sqrt(-x)),x)

ERROR: Failed to apply rule 𝛷(sqrt(~x) ^ -1) => 𝛷((~x) ^ -0.5) on expression 𝛷(sqrt(-𝑥)^-1)
Stacktrace:

--Nasser

nasser1 avatar Sep 02 '22 23:09 nasser1