Question: Having trouble with an integral in Maple2022 - Gives Imaginary number when it shouldn't

So for my project, I need to be able to do this integral for different values of "l". Here is the integral I need to evaluate:

Where "R", "Xi", and "l" are all constant. When I try to do it, it gives back an imaginary number. The absolute value of this imaginary number seems to be correct but I'm not sure why it's imaginary. This is a plot of what it should give for various values of "l":

Here is my maple code copy-pasted from the application (I'm new to Maple and this forum and cannot figure out how to attach the file version of my code sorry):

Digits := 30;
E := 3.83*10^14;
                                            14
                  E := 3.8300000000000000 10  

R := 0.1*E;
                                            13
                  R := 3.8300000000000000 10  

l := 0.01*R;
                                            11
                  l := 3.8300000000000000 10  

A := int((-4*E^2 + r^2)^(1/2)*(R^2 - l^2 + r^2)/((R^2 - (l - r)^2)^(1/2)*((l + r)^2 - R^2)^(1/2)), r = abs(l - R) .. l + R)/(Pi*R^2);
             A := 19.9744824651978825998722703010 I

Max := (1 + 4*(E/R)^2)^(1/2);
             Max := 20.0249843945007857276972121483

NULL;

Here is the code when I exported as maple input:

NULL;
Digits := 30;
E := 3.83*10^14;
R := 0.1*E;
l := 0.01*R;
A := int((-4*E^2 + r^2)^(1/2)*(R^2 - l^2 + r^2)/((R^2 - (l - r)^2)^(1/2)*((l + r)^2 - R^2)^(1/2)), r = abs(l - R) .. l + R)/(Pi*R^2);
Max := (1 + 4*(E/R)^2)^(1/2);
NULL;

Thank you in advance!

Please Wait...