84.16.8 problem 8.17

Internal problem ID [22188]
Book : Schaums outline series. Differential Equations By Richard Bronson. 1973. McGraw-Hill Inc. ISBN 0-07-008009-7
Section : Chapter 8. Linear first-order differential equations. Supplementary problems
Problem number : 8.17
Date solved : Thursday, October 02, 2025 at 08:33:48 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=\cos \left (x \right ) \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 8
ode:=diff(y(x),x) = cos(x); 
dsolve(ode,y(x), singsol=all);
 
\[ y = \sin \left (x \right )+c_1 \]
Mathematica. Time used: 0.005 (sec). Leaf size: 10
ode=D[y[x],x]==Cos[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \sin (x)+c_1 \end{align*}
Sympy. Time used: 0.021 (sec). Leaf size: 7
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-cos(x) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + \sin {\left (x \right )} \]