Internal
problem
ID
[6274]
Book
:
Fundamentals
of
Differential
Equations.
By
Nagle,
Saff
and
Snider.
9th
edition.
Boston.
Pearson
2018.
Section
:
Chapter
2,
First
order
differential
equations.
Section
2.2,
Separable
Equations.
Exercises.
page
46
Problem
number
:
19
Date
solved
:
Sunday, March 30, 2025 at 10:48:12 AM
CAS
classification
:
[_separable]
With initial conditions
ode:=1/2*diff(y(x),x) = (1+y(x))^(1/2)*cos(x); ic:=y(Pi) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=1/2*D[y[x],x]==Sqrt[1+y[x]]*Cos[x]; ic={y[Pi]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-sqrt(y(x) + 1)*cos(x) + Derivative(y(x), x)/2,0) ics = {y(pi): 0} dsolve(ode,func=y(x),ics=ics)
NotImplementedError : Initial conditions produced too many solutions for constants