Internal
problem
ID
[8070]
Book
:
Differential
Equations:
Theory,
Technique,
and
Practice
by
George
Simmons,
Steven
Krantz.
McGraw-Hill
NY.
2007.
1st
Edition.
Section
:
Chapter
2.
Problems
for
Review
and
Discovery.
Problems
for
Discussion
and
Exploration.
Page
105
Problem
number
:
2
Date
solved
:
Sunday, March 30, 2025 at 12:42:05 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(x),x),x) = -3*y(x); ic:=y(0) = -1; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],{x,2}]==-3*y[x]; ic={y[0]==-1}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(3*y(x) + Derivative(y(x), (x, 2)),0) ics = {y(0): -1} dsolve(ode,func=y(x),ics=ics)