Consider following expression: $\int_0^1 \sqrt{4194 x^4-6804 x^3+3960 x^2-972 x+90} \, dx$
If i use N[] to calculate it, i get following result:
$N\left[\int_0^1 \sqrt{4194 x^4-6804 x^3+3960 x^2-972 x+90} \, dx,25\right]$
= 6.027972711543818613109397
If i use NIntegrate to calculate it, i get following result:
$\text{NIntegrate}\left[\sqrt{4194 x^4-6804 x^3+3960 x^2-972 x+90},\{x,0,1\},\text{WorkingPrecision}\to 25\right]$
= 6.027972711543818613109397
But if i try to calculate indefinite integral first, and then calculate the result i get following:
indefiniteIntegral[x_] = Integrate[Sqrt[4194 x^4 - 6804 x^3 + 3960 x^2 - 972 x + 90], x]
$N[\text{indefiniteIntegral}[1]-\text{indefiniteIntegral}[0],25]$
= 4.435757944345431340027424 + 0.042341350166508502449667i
Which is clearly different...
Am i missing something?
Integrate
reference page under Possible Issues > Indefinite Integrals $\endgroup$