Optimal. Leaf size=50 \[ \frac {2 \cos (e+f x) (a \sin (e+f x)+a)^{m+1}}{a f (2 m+3) \sqrt {c-c \sin (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.26, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {2841, 2738} \[ \frac {2 \cos (e+f x) (a \sin (e+f x)+a)^{m+1}}{a f (2 m+3) \sqrt {c-c \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2738
Rule 2841
Rubi steps
\begin {align*} \int \frac {\cos ^2(e+f x) (a+a \sin (e+f x))^m}{\sqrt {c-c \sin (e+f x)}} \, dx &=\frac {\int (a+a \sin (e+f x))^{1+m} \sqrt {c-c \sin (e+f x)} \, dx}{a c}\\ &=\frac {2 \cos (e+f x) (a+a \sin (e+f x))^{1+m}}{a f (3+2 m) \sqrt {c-c \sin (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.37, size = 85, normalized size = 1.70 \[ \frac {2 \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\sin \left (\frac {1}{2} (e+f x)\right )+\cos \left (\frac {1}{2} (e+f x)\right )\right )^3 (a (\sin (e+f x)+1))^m}{f (2 m+3) \sqrt {c-c \sin (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.46, size = 108, normalized size = 2.16 \[ -\frac {2 \, {\left (\cos \left (f x + e\right )^{2} - {\left (\cos \left (f x + e\right ) + 2\right )} \sin \left (f x + e\right ) - \cos \left (f x + e\right ) - 2\right )} \sqrt {-c \sin \left (f x + e\right ) + c} {\left (a \sin \left (f x + e\right ) + a\right )}^{m}}{2 \, c f m + 3 \, c f + {\left (2 \, c f m + 3 \, c f\right )} \cos \left (f x + e\right ) - {\left (2 \, c f m + 3 \, c f\right )} \sin \left (f x + e\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (a \sin \left (f x + e\right ) + a\right )}^{m} \cos \left (f x + e\right )^{2}}{\sqrt {-c \sin \left (f x + e\right ) + c}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.67, size = 0, normalized size = 0.00 \[ \int \frac {\left (\cos ^{2}\left (f x +e \right )\right ) \left (a +a \sin \left (f x +e \right )\right )^{m}}{\sqrt {c -c \sin \left (f x +e \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.90, size = 68, normalized size = 1.36 \[ -\frac {{\left (a\,\left (\sin \left (e+f\,x\right )+1\right )\right )}^m\,\sqrt {-c\,\left (\sin \left (e+f\,x\right )-1\right )}\,\left (2\,\cos \left (e+f\,x\right )+\sin \left (2\,e+2\,f\,x\right )\right )}{c\,f\,\left (2\,m+3\right )\,\left (\sin \left (e+f\,x\right )-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{m} \cos ^{2}{\left (e + f x \right )}}{\sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________