Internal
problem
ID
[15780]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
1.
Introduction
to
Differential
Equations.
Review
exercises,
page
23
Problem
number
:
23
Date
solved
:
Thursday, March 13, 2025 at 06:19:46 AM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x) = cos(x)^2*sin(x); ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==Cos[x]^2*Sin[x]; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-sin(x)*cos(x)**2 + Derivative(y(x), x),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)