ODE
\[ y'(x)=a \sin (b x+c)+k y(x) \] ODE Classification
[[_linear, `class A`]]
Book solution method
Linear ODE
Mathematica ✓
cpu = 0.0671456 (sec), leaf count = 43
\[\left \{\left \{y(x)\to c_1 e^{k x}-\frac {a (k \sin (b x+c)+b \cos (b x+c))}{b^2+k^2}\right \}\right \}\]
Maple ✓
cpu = 0.013 (sec), leaf count = 40
\[ \left \{ y \left ( x \right ) ={{\rm e}^{kx}}{\it \_C1}-{\frac {a \left ( b\cos \left ( bx+c \right ) +\sin \left ( bx+c \right ) k \right ) }{{b}^{2}+{k}^{2}}} \right \} \] Mathematica raw input
DSolve[y'[x] == a*Sin[c + b*x] + k*y[x],y[x],x]
Mathematica raw output
{{y[x] -> E^(k*x)*C[1] - (a*(b*Cos[c + b*x] + k*Sin[c + b*x]))/(b^2 + k^2)}}
Maple raw input
dsolve(diff(y(x),x) = a*sin(b*x+c)+k*y(x), y(x),'implicit')
Maple raw output
y(x) = exp(k*x)*_C1-a*(b*cos(b*x+c)+sin(b*x+c)*k)/(b^2+k^2)