Evaluation of $ \int \tan x\cdot \sqrt{1+\sin x}dx$ Calculation of $\displaystyle \int \tan x\cdot \sqrt{1+\sin x}dx$
$\bf{My\; Try::}$ Let $\displaystyle (1+\sin x)= t^2\;,$ Then $\displaystyle \cos xdx = 2tdt\Rightarrow dx = \frac{2t}{\sqrt{2-t^2}}dt$
So Integral is $\displaystyle  = \displaystyle 2\int \frac{t^2}{\sqrt{2-t^2}} \frac{(t^2-1)}{\sqrt{2-t^2}}dt = 2\int\frac{t^4-t^2}{2-t^2}dt $
Now How Can I solve after that
Help me
Thanks

$$ 2\int\frac{t^4-t^2}{2-t^2}dt = 2\int\frac{\require{cancel}\cancel{(t^2 - 2)}(t^2 + 1)+2}{-(\cancel{t^2 - 2})},dt = \underbrace{-2\int (t^2 + 1)\,dt}_{\text{a cinch}} - \underbrace{2\int \frac {2}{t^2 - 2}\,dt}_{\text{partial fractions}}$$
Alternatively, for the second integral, we can express it as $$+ 2\cdot\frac{2}{1-t^2}$$ and use $t = \sin \theta \,d\theta \implies dt = \cos \theta \,d\theta $ to get $$4\int \sec \theta d\,\theta$$
