Internal problem ID [5938]
Book: An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY
1961
Section: Chapter 1. Introduction– Linear equations of First Order. Page 45
Problem number: 2.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_linear]
\[ \boxed {y^{\prime }+y \cos \left (x \right )={\mathrm e}^{-\sin \left (x \right )}} \] With initial conditions \begin {align*} [y \left (\pi \right ) = \pi ] \end {align*}
✓ Solution by Maple
Time used: 0.015 (sec). Leaf size: 11
dsolve([diff(y(x),x)+cos(x)*y(x)=exp(-sin(x)),y(Pi) = Pi],y(x), singsol=all)
\[ y \left (x \right ) = {\mathrm e}^{-\sin \left (x \right )} x \]
✓ Solution by Mathematica
Time used: 0.138 (sec). Leaf size: 13
DSolve[{y'[x]+Cos[x]*y[x]==Exp[-Sin[x]],{y[Pi]==Pi}},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to x e^{-\sin (x)} \]