Internal
problem
ID
[21102]
Book
:
Ordinary
Differential
Equations.
By
Wolfgang
Walter.
Graduate
texts
in
Mathematics.
Springer.
NY.
QA372.W224
1998
Section
:
Chapter
2.
Theory
of
First
order
differential
equations.
Excercises
IV
at
page
89
Problem
number
:
(a)
Date
solved
:
Thursday, October 02, 2025 at 07:08:21 PM
CAS
classification
:
[`y=_G(x,y')`]
Using series method with expansion around
With initial conditions
Order:=6; ode:=diff(y(x),x) = exp(x)+x*cos(y(x)); ic:=[y(0) = 0]; dsolve([ode,op(ic)],y(x),type='series',x=0);
ode=D[y[x],x]==Exp[x]+x*Cos[y[x]]; ic={y[0]==0}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*cos(y(x)) - exp(x) + Derivative(y(x), x),0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)