So the problem comes from cosmology and I want to solve for the unknown function $a(t)$, which is the scale factor for the universe. So I have an integral involving $a$: $$ (1)\quad\int\left[\frac{\Omega}{a(t)}+\frac{1-\Omega}{\sqrt{a(t)}}\right]^{-1/2}da=H_0t,\ $$ where $\Omega$ and $H_0$ are constants, which, when you do the intergral subject to the restraint $a(0)=0$, yeilds: $$ (2)\quad\frac{-4\sqrt{(1-\Omega)\sqrt{a(t)}+\Omega}\;\Big(3(\Omega-1)^2 a(t)+4\Omega(\Omega-1)\sqrt{a(t)}+8\Omega^2\Big)+32 \Omega^{5/2}}{15(1-\Omega)^3}=H_0t. $$ This is the expression I want to solve for $a(t)$. It's not so pretty, but basically it surmounts to solving an expression of the form $$ (3)\quad\sqrt{k_1\sqrt{x}+k_2}\;\Big(k_3x+k_4\sqrt{x}+k_5\Big)+k_6=0 $$ in $x$ with $\{k_1,\dots,k_6\}$ being constants.
This, however seams quite difficult, though it seams there ought to a solution. Solving (3) with just either of the factors on the left hand side is straight forward, so solving $$ (4)\quad\sqrt{(1-a)\sqrt{x}+a}=kt\quad\text{or}\quad(5)\quad\big(ax+b\sqrt{x}+c\big)=kt $$ is easy. For (4) you just square both sides, rearrange and square again. Likewise (5) is easy to solve since it can be turned into an ordinary second order equation by writing $ax+b\sqrt{x}+c'=0$ with $c'=c-kt$ then you can isolate the $b\sqrt{x}$ term and square both sides at which point you're just dealing with a second degree polynomial.
Looking at (3) it sort of takes the form of the product of two "polynomials" both containing rational powers of $x$, however it's not really the case since $$ \sqrt{a\sqrt{x}+b}\neq\sqrt{a}\sqrt[4]{x}+\sqrt{b} $$ but even if it had been the case it wouldn't have been of much help since I still don't see a way to eliminate the rational powers of $x$. Since (4) and (5) can be solved (and also for $k=0$), determining the roots of (3) (at least for $k_6=0$) is again easy, but since I cant just let the right hand side of (2) vanish, I feel like I'm at a loss.
For the value of my constants I have $\Omega=.3$ and the Hubble constant is $H_0=67$, which, when plugged into (2) gives $$ (6)\quad.78\sqrt{.7\sqrt{a(t)}+.3}\;\Big(1.47a(t)-.84\sqrt{a(t)}+.72\Big)-.31=67t. $$ I would like to find a direct algebraic solution to (2), expressing $a$ i terms of $\Omega$, $H_0$ and $t$, but most of all I would like to have a numerical expression for $a(t)$ from (6), since I want to plot it's graph to do data analysis.
Any help would be much appreciated, thanks in advance :)