Internal
problem
ID
[22085]
Book
:
Schaums
outline
series.
Differential
Equations
By
Richard
Bronson.
1973.
McGraw-Hill
Inc.
ISBN
0-07-008009-7
Section
:
Chapter
2.
Solutions.
Solved
problems
page
5
Problem
number
:
2.8
Date
solved
:
Thursday, October 02, 2025 at 08:23:42 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=diff(diff(y(x),x),x)+4*y(x) = 0; ic:=[y(0) = 1, y(1/2*Pi) = 2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],{x,2}]+4*y[x]==0; ic={y[0]==1,y[Pi/2] ==2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
{}
from sympy import * x = symbols("x") y = Function("y") ode = Eq(4*y(x) + Derivative(y(x), (x, 2)),0) ics = {y(0): 1, y(pi/2): 2} dsolve(ode,func=y(x),ics=ics)
ValueError : Couldnt solve for initial conditions