Internal
problem
ID
[3343]
Book
:
Differential
Equations
by
Alfred
L.
Nelson,
Karl
W.
Folley,
Max
Coral.
3rd
ed.
DC
heath.
Boston.
1964
Section
:
Exercise
40,
page
186
Problem
number
:
9
Date
solved
:
Tuesday, March 04, 2025 at 04:36:27 PM
CAS
classification
:
[`y=_G(x,y')`]
Using series method with expansion around
With initial conditions
Order:=4; ode:=diff(y(x),x) = cos(x)+sin(y(x)); ic:=y(1/2*Pi) = 1/2*Pi; dsolve([ode,ic],y(x),type='series',x=1/2*Pi);
ode=D[y[x],x]==Cos[x]*Sin[y[x]]; ic={y[Pi/2]==Pi/2}; AsymptoticDSolveValue[{ode,ic},y[x],{x,Pi/2,3}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-sin(y(x)) - cos(x) + Derivative(y(x), x),0) ics = {y(pi/2): pi/2} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=pi/2,n=4)