I doubt a closed form exists, so I am trying to approximate the integral: $$I(a)=\int_0^1 a^x\ \frac{x(1-x)}{\sin(\pi x)} dx$$ I am therefore looking for a function $F(a)$ that provides $$F(a)\simeq I(a)$$ But I want this to be true for every value of $a>0$, and so something like a truncated Taylor series of $I$ would be useless, since for large $a$ it would require adding more and more terms.
Up to this day I found only two promising approximations of $I(a)$:
$\Large{1)}$
Using the inequality (which is a quite good approximation for small values of $x,y$) $$\frac{x-y}{\log x-\log y}<\left(\frac{x^{\frac13}+y^{\frac23}}{2} \right)^3 $$ I got
$$F_1(a)=\frac{1+a}{8\pi}+\frac{a^{\frac13}+a^{\frac23}}{6\sqrt3}$$
with a percentage error of roughly $1\%$ for small $a$, growing larger as $a$ grows.
$\Large{2)}$
Using the famous ancient approximation for $\sin x$: $$\sin x \simeq \frac{16(\pi-x)x}{5\pi^2-4(\pi-x)x}$$ I got
$$F_2(a)=\frac{a-1}{2\log^3a}-\frac{a+1}{4\log^2a}+\frac{5(a-1)}{16\log a}$$
and this one is tremendously precise, even for very large values of $a$.
However, I am still on the lookout for other, even better, approximations for $I$. These two are the only ones I was able to get. Regarding the first one, I tried even sharper bounds known for the logarithmic mean, but then I wasn't able to integrate. The generalized mean of exponent $\frac13$ was the best I could get. I like the result because it features only polynomials, no exponentials or logarithms and trig functions. But, since the two means start to differ very fast past around $10$, the result is good only for small values of $a$.
If someone has an idea to get another approximation I'd be happy to hear it.