1.16 problem 2(f)

Internal problem ID [3017]

Book: Theory and solutions of Ordinary Differential equations, Donald Greenspan, 1960
Section: Exercises, page 14
Problem number: 2(f).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }=\sin \left (x \right ) {\mathrm e}^{x}} \] With initial conditions \begin {align*} [y \left (0\right ) = 0] \end {align*}

Solution by Maple

Time used: 0.0 (sec). Leaf size: 17

dsolve([diff(y(x),x)=exp(x)*sin(x),y(0) = 0],y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {1}{2}+\frac {{\mathrm e}^{x} \left (-\cos \left (x \right )+\sin \left (x \right )\right )}{2} \]

Solution by Mathematica

Time used: 0.015 (sec). Leaf size: 24

DSolve[{y'[x]==Exp[x]*Sin[x],y[0]==0},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \frac {1}{2} \left (e^x \sin (x)-e^x \cos (x)+1\right ) \]