Internal
problem
ID
[8969]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
5.0
Problem
number
:
8
Date
solved
:
Sunday, March 30, 2025 at 01:57:34 PM
CAS
classification
:
[[_linear, `class A`]]
Using series method with expansion around
Order:=6; ode:=diff(y(x),x)+y(x) = 1/x^2; dsolve(ode,y(x),type='series',x=0);
ode=D[y[x],x]+y[x]==1/x^2; ic={}; AsymptoticDSolveValue[{ode,ic},y[x],{x,0,5}]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) + Derivative(y(x), x) - 1/x**2,0) ics = {} dsolve(ode,func=y(x),ics=ics,hint="1st_power_series",x0=0,n=6)
ValueError : ODE y(x) + Derivative(y(x), x) - 1/x**2 does not match hint 1st_power_series