Internal
problem
ID
[6694]
Book
:
Schaums
Outline.
Theory
and
problems
of
Differential
Equations,
1st
edition.
Frank
Ayres.
McGraw
Hill
1952
Section
:
Chapter
12.
Linear
equations
of
order
n.
Supplemetary
problems.
Page
81
Problem
number
:
13
Date
solved
:
Sunday, March 30, 2025 at 11:19:56 AM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+9*y(x) = cos(x)*x; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+9*y[x]==x*Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*cos(x) + 9*y(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)