Internal
problem
ID
[15749]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
1.
Introduction
to
Differential
Equations.
Exercises
1.1,
page
10
Problem
number
:
47
Date
solved
:
Monday, March 31, 2025 at 01:47:00 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=diff(y(x),x)+2*y(x) = 0; ic:=y(0) = 2; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]+2*y[x]==0; ic={y[0]==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(2*y(x) + Derivative(y(x), x),0) ics = {y(0): 2} dsolve(ode,func=y(x),ics=ics)