Integrand size = 40, antiderivative size = 103 \[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\frac {(A+B) \cos (e+f x)}{2 f \sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}}+\frac {(A-B) \text {arctanh}(\sin (e+f x)) \cos (e+f x)}{2 c f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \] Output:
1/2*(A+B)*cos(f*x+e)/f/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(3/2)+1/2*( A-B)*arctanh(sin(f*x+e))*cos(f*x+e)/c/f/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f* x+e))^(1/2)
Time = 3.83 (sec) , antiderivative size = 191, normalized size of antiderivative = 1.85 \[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\frac {\left (A+B+(-A+B) \log \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^2+(A-B) \log \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^2\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )}{2 f \sqrt {a (1+\sin (e+f x))} (c-c \sin (e+f x))^{3/2}} \] Input:
Integrate[(A + B*Sin[e + f*x])/(Sqrt[a + a*Sin[e + f*x]]*(c - c*Sin[e + f* x])^(3/2)),x]
Output:
((A + B + (-A + B)*Log[Cos[(e + f*x)/2] - Sin[(e + f*x)/2]]*(Cos[(e + f*x) /2] - Sin[(e + f*x)/2])^2 + (A - B)*Log[Cos[(e + f*x)/2] + Sin[(e + f*x)/2 ]]*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])^2)*(Cos[(e + f*x)/2] - Sin[(e + f *x)/2])*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2]))/(2*f*Sqrt[a*(1 + Sin[e + f* x])]*(c - c*Sin[e + f*x])^(3/2))
Time = 0.65 (sec) , antiderivative size = 103, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {3042, 3451, 3042, 3220, 3042, 4257}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {A+B \sin (e+f x)}{\sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {A+B \sin (e+f x)}{\sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}dx\) |
\(\Big \downarrow \) 3451 |
\(\displaystyle \frac {(A-B) \int \frac {1}{\sqrt {\sin (e+f x) a+a} \sqrt {c-c \sin (e+f x)}}dx}{2 c}+\frac {(A+B) \cos (e+f x)}{2 f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A-B) \int \frac {1}{\sqrt {\sin (e+f x) a+a} \sqrt {c-c \sin (e+f x)}}dx}{2 c}+\frac {(A+B) \cos (e+f x)}{2 f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}\) |
\(\Big \downarrow \) 3220 |
\(\displaystyle \frac {(A-B) \cos (e+f x) \int \sec (e+f x)dx}{2 c \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {(A+B) \cos (e+f x)}{2 f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A-B) \cos (e+f x) \int \csc \left (e+f x+\frac {\pi }{2}\right )dx}{2 c \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {(A+B) \cos (e+f x)}{2 f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}\) |
\(\Big \downarrow \) 4257 |
\(\displaystyle \frac {(A-B) \cos (e+f x) \text {arctanh}(\sin (e+f x))}{2 c f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {(A+B) \cos (e+f x)}{2 f \sqrt {a \sin (e+f x)+a} (c-c \sin (e+f x))^{3/2}}\) |
Input:
Int[(A + B*Sin[e + f*x])/(Sqrt[a + a*Sin[e + f*x]]*(c - c*Sin[e + f*x])^(3 /2)),x]
Output:
((A + B)*Cos[e + f*x])/(2*f*Sqrt[a + a*Sin[e + f*x]]*(c - c*Sin[e + f*x])^ (3/2)) + ((A - B)*ArcTanh[Sin[e + f*x]]*Cos[e + f*x])/(2*c*f*Sqrt[a + a*Si n[e + f*x]]*Sqrt[c - c*Sin[e + f*x]])
Int[1/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_) + (d_.)*sin[(e_ .) + (f_.)*(x_)]]), x_Symbol] :> Simp[Cos[e + f*x]/(Sqrt[a + b*Sin[e + f*x] ]*Sqrt[c + d*Sin[e + f*x]]) Int[1/Cos[e + f*x], x], x] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Sim p[(A*b - a*B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/( a*f*(2*m + 1))), x] + Simp[(a*B*(m - n) + A*b*(m + n + 1))/(a*b*(2*m + 1)) Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n, x], x] /; FreeQ[ {a, b, c, d, e, f, A, B, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0 ] && (LtQ[m, -2^(-1)] || (ILtQ[m + n, 0] && !SumSimplerQ[n, 1])) && NeQ[2* m + 1, 0]
Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> Simp[-ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]
Leaf count of result is larger than twice the leaf count of optimal. \(517\) vs. \(2(91)=182\).
Time = 7.97 (sec) , antiderivative size = 518, normalized size of antiderivative = 5.03
method | result | size |
default | \(\frac {A \sqrt {4}\, \left (2 \ln \left (-\cot \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+\csc \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )\right ) \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}-2 \ln \left (-\cot \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+\csc \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )-1\right ) \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}-2 \ln \left (-\cot \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+\csc \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+1\right ) \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}+\sin \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}\right ) \tan \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )}{8 f \sqrt {a \sin \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}}\, \sqrt {c \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}}\, c}+\frac {B \left (\left (\left (1-2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right ) \sin \left (\frac {f x}{2}+\frac {e}{2}\right )+\cos \left (\frac {f x}{2}+\frac {e}{2}\right ) \left (-1+2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )\right ) \ln \left (-\frac {2 \left (\cos \left (\frac {f x}{2}+\frac {e}{2}\right )+\sin \left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{\cos \left (\frac {f x}{2}+\frac {e}{2}\right )+1}\right )+\left (\left (-1+2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right ) \sin \left (\frac {f x}{2}+\frac {e}{2}\right )-\cos \left (\frac {f x}{2}+\frac {e}{2}\right ) \left (-1+2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )\right ) \ln \left (\frac {2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right )-2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )}{\cos \left (\frac {f x}{2}+\frac {e}{2}\right )+1}\right )+\cos \left (\frac {f x}{2}+\frac {e}{2}\right ) \left (-2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right ) \cos \left (\frac {f x}{2}+\frac {e}{2}\right )-2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )\right )}{2 c f \left (\sin \left (\frac {f x}{2}+\frac {e}{2}\right )-\cos \left (\frac {f x}{2}+\frac {e}{2}\right )\right ) \sqrt {\left (2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right ) \cos \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right ) a}\, \sqrt {-\left (2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right ) \cos \left (\frac {f x}{2}+\frac {e}{2}\right )-1\right ) c}}\) | \(518\) |
parts | \(\frac {A \sqrt {4}\, \left (2 \ln \left (-\cot \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+\csc \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )\right ) \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}-2 \ln \left (-\cot \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+\csc \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )-1\right ) \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}-2 \ln \left (-\cot \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+\csc \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )+1\right ) \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}+\sin \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}\right ) \tan \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )}{8 f \sqrt {a \sin \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}}\, \sqrt {c \cos \left (\frac {\pi }{4}+\frac {f x}{2}+\frac {e}{2}\right )^{2}}\, c}+\frac {B \left (\left (\left (1-2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right ) \sin \left (\frac {f x}{2}+\frac {e}{2}\right )+\cos \left (\frac {f x}{2}+\frac {e}{2}\right ) \left (-1+2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )\right ) \ln \left (-\frac {2 \left (\cos \left (\frac {f x}{2}+\frac {e}{2}\right )+\sin \left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{\cos \left (\frac {f x}{2}+\frac {e}{2}\right )+1}\right )+\left (\left (-1+2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right ) \sin \left (\frac {f x}{2}+\frac {e}{2}\right )-\cos \left (\frac {f x}{2}+\frac {e}{2}\right ) \left (-1+2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )\right ) \ln \left (\frac {2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right )-2 \cos \left (\frac {f x}{2}+\frac {e}{2}\right )}{\cos \left (\frac {f x}{2}+\frac {e}{2}\right )+1}\right )+\cos \left (\frac {f x}{2}+\frac {e}{2}\right ) \left (-2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right ) \cos \left (\frac {f x}{2}+\frac {e}{2}\right )-2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right )^{2}\right )\right )}{2 c f \left (\sin \left (\frac {f x}{2}+\frac {e}{2}\right )-\cos \left (\frac {f x}{2}+\frac {e}{2}\right )\right ) \sqrt {\left (2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right ) \cos \left (\frac {f x}{2}+\frac {e}{2}\right )+1\right ) a}\, \sqrt {-\left (2 \sin \left (\frac {f x}{2}+\frac {e}{2}\right ) \cos \left (\frac {f x}{2}+\frac {e}{2}\right )-1\right ) c}}\) | \(518\) |
Input:
int((A+B*sin(f*x+e))/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(3/2),x,metho d=_RETURNVERBOSE)
Output:
1/8*A/f*4^(1/2)*(2*ln(-cot(1/4*Pi+1/2*f*x+1/2*e)+csc(1/4*Pi+1/2*f*x+1/2*e) )*cos(1/4*Pi+1/2*f*x+1/2*e)^2-2*ln(-cot(1/4*Pi+1/2*f*x+1/2*e)+csc(1/4*Pi+1 /2*f*x+1/2*e)-1)*cos(1/4*Pi+1/2*f*x+1/2*e)^2-2*ln(-cot(1/4*Pi+1/2*f*x+1/2* e)+csc(1/4*Pi+1/2*f*x+1/2*e)+1)*cos(1/4*Pi+1/2*f*x+1/2*e)^2+sin(1/4*Pi+1/2 *f*x+1/2*e)^2)/(a*sin(1/4*Pi+1/2*f*x+1/2*e)^2)^(1/2)/(c*cos(1/4*Pi+1/2*f*x +1/2*e)^2)^(1/2)/c*tan(1/4*Pi+1/2*f*x+1/2*e)+1/2*B/c/f*(((1-2*cos(1/2*f*x+ 1/2*e)^2)*sin(1/2*f*x+1/2*e)+cos(1/2*f*x+1/2*e)*(-1+2*cos(1/2*f*x+1/2*e)^2 ))*ln(-2*(cos(1/2*f*x+1/2*e)+sin(1/2*f*x+1/2*e))/(cos(1/2*f*x+1/2*e)+1))+( (-1+2*cos(1/2*f*x+1/2*e)^2)*sin(1/2*f*x+1/2*e)-cos(1/2*f*x+1/2*e)*(-1+2*co s(1/2*f*x+1/2*e)^2))*ln(2*(sin(1/2*f*x+1/2*e)-cos(1/2*f*x+1/2*e))/(cos(1/2 *f*x+1/2*e)+1))+cos(1/2*f*x+1/2*e)*(-2*sin(1/2*f*x+1/2*e)*cos(1/2*f*x+1/2* e)-2*sin(1/2*f*x+1/2*e)^2))/(sin(1/2*f*x+1/2*e)-cos(1/2*f*x+1/2*e))/((2*si n(1/2*f*x+1/2*e)*cos(1/2*f*x+1/2*e)+1)*a)^(1/2)/(-(2*sin(1/2*f*x+1/2*e)*co s(1/2*f*x+1/2*e)-1)*c)^(1/2)
Time = 0.12 (sec) , antiderivative size = 335, normalized size of antiderivative = 3.25 \[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\left [-\frac {{\left ({\left (A - B\right )} \cos \left (f x + e\right ) \sin \left (f x + e\right ) - {\left (A - B\right )} \cos \left (f x + e\right )\right )} \sqrt {a c} \log \left (-\frac {a c \cos \left (f x + e\right )^{3} - 2 \, a c \cos \left (f x + e\right ) + 2 \, \sqrt {a c} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} \sin \left (f x + e\right )}{\cos \left (f x + e\right )^{3}}\right ) + 2 \, \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} {\left (A + B\right )}}{4 \, {\left (a c^{2} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) - a c^{2} f \cos \left (f x + e\right )\right )}}, -\frac {{\left ({\left (A - B\right )} \cos \left (f x + e\right ) \sin \left (f x + e\right ) - {\left (A - B\right )} \cos \left (f x + e\right )\right )} \sqrt {-a c} \arctan \left (\frac {\sqrt {-a c} \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} \sin \left (f x + e\right )}{a c \cos \left (f x + e\right )}\right ) + \sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} {\left (A + B\right )}}{2 \, {\left (a c^{2} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) - a c^{2} f \cos \left (f x + e\right )\right )}}\right ] \] Input:
integrate((A+B*sin(f*x+e))/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(3/2),x , algorithm="fricas")
Output:
[-1/4*(((A - B)*cos(f*x + e)*sin(f*x + e) - (A - B)*cos(f*x + e))*sqrt(a*c )*log(-(a*c*cos(f*x + e)^3 - 2*a*c*cos(f*x + e) + 2*sqrt(a*c)*sqrt(a*sin(f *x + e) + a)*sqrt(-c*sin(f*x + e) + c)*sin(f*x + e))/cos(f*x + e)^3) + 2*s qrt(a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)*(A + B))/(a*c^2*f*cos(f* x + e)*sin(f*x + e) - a*c^2*f*cos(f*x + e)), -1/2*(((A - B)*cos(f*x + e)*s in(f*x + e) - (A - B)*cos(f*x + e))*sqrt(-a*c)*arctan(sqrt(-a*c)*sqrt(a*si n(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)*sin(f*x + e)/(a*c*cos(f*x + e))) + sqrt(a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)*(A + B))/(a*c^2*f*co s(f*x + e)*sin(f*x + e) - a*c^2*f*cos(f*x + e))]
\[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\int \frac {A + B \sin {\left (e + f x \right )}}{\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )} \left (- c \left (\sin {\left (e + f x \right )} - 1\right )\right )^{\frac {3}{2}}}\, dx \] Input:
integrate((A+B*sin(f*x+e))/(a+a*sin(f*x+e))**(1/2)/(c-c*sin(f*x+e))**(3/2) ,x)
Output:
Integral((A + B*sin(e + f*x))/(sqrt(a*(sin(e + f*x) + 1))*(-c*(sin(e + f*x ) - 1))**(3/2)), x)
\[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\int { \frac {B \sin \left (f x + e\right ) + A}{\sqrt {a \sin \left (f x + e\right ) + a} {\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {3}{2}}} \,d x } \] Input:
integrate((A+B*sin(f*x+e))/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(3/2),x , algorithm="maxima")
Output:
integrate((B*sin(f*x + e) + A)/(sqrt(a*sin(f*x + e) + a)*(-c*sin(f*x + e) + c)^(3/2)), x)
Exception generated. \[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\text {Exception raised: TypeError} \] Input:
integrate((A+B*sin(f*x+e))/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(3/2),x , algorithm="giac")
Output:
Exception raised: TypeError >> an error occurred running a Giac command:IN PUT:sage2:=int(sage0,sageVARx):;OUTPUT:sym2poly/r2sym(const gen & e,const index_m & i,const vecteur & l) Error: Bad Argument Value
Timed out. \[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\int \frac {A+B\,\sin \left (e+f\,x\right )}{\sqrt {a+a\,\sin \left (e+f\,x\right )}\,{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{3/2}} \,d x \] Input:
int((A + B*sin(e + f*x))/((a + a*sin(e + f*x))^(1/2)*(c - c*sin(e + f*x))^ (3/2)),x)
Output:
int((A + B*sin(e + f*x))/((a + a*sin(e + f*x))^(1/2)*(c - c*sin(e + f*x))^ (3/2)), x)
\[ \int \frac {A+B \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} (c-c \sin (e+f x))^{3/2}} \, dx=\frac {\sqrt {c}\, \sqrt {a}\, \left (\left (\int \frac {\sqrt {\sin \left (f x +e \right )+1}\, \sqrt {-\sin \left (f x +e \right )+1}\, \sin \left (f x +e \right )}{\sin \left (f x +e \right )^{3}-\sin \left (f x +e \right )^{2}-\sin \left (f x +e \right )+1}d x \right ) b +\left (\int \frac {\sqrt {\sin \left (f x +e \right )+1}\, \sqrt {-\sin \left (f x +e \right )+1}}{\sin \left (f x +e \right )^{3}-\sin \left (f x +e \right )^{2}-\sin \left (f x +e \right )+1}d x \right ) a \right )}{a \,c^{2}} \] Input:
int((A+B*sin(f*x+e))/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(3/2),x)
Output:
(sqrt(c)*sqrt(a)*(int((sqrt(sin(e + f*x) + 1)*sqrt( - sin(e + f*x) + 1)*si n(e + f*x))/(sin(e + f*x)**3 - sin(e + f*x)**2 - sin(e + f*x) + 1),x)*b + int((sqrt(sin(e + f*x) + 1)*sqrt( - sin(e + f*x) + 1))/(sin(e + f*x)**3 - sin(e + f*x)**2 - sin(e + f*x) + 1),x)*a))/(a*c**2)