This is my function
var('h,r')
f=r^2*arccos((r-h)/r)-(r-h)*sqrt(2*r*h-h^2)
taylor(f,h,0,3)
Result:
-1/5*sqrt(2)*h^(5/2)/sqrt(r) + 4/3*sqrt(2)*h^(3/2)*sqrt(r)
I expected an expression of the form ax^3+bx^2+cx+d but I got 5/2 and 3/2 as exponents for h. Why is that?
This is essentially directly using Maxima, so
Expanding around other points gives what we expect, so I guess this is some kind of bug (or undocumented feature) in Maxima.
Maybe they like Puiseux series? I've reported this at https://sourceforge.net/p/maxima/bugs/2850/
Edit: Of course, there is the problem that the square root function is not particularly well-behaved at zero! But still one would expect something else, I think.