Internal
problem
ID
[10277]
Book
:
First
order
enumerated
odes
Section
:
section
1
Problem
number
:
7
Date
solved
:
Tuesday, September 30, 2025 at 07:16:28 PM
CAS
classification
:
[[_linear, `class A`]]
ode:=diff(y(x),x) = a*x+y(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==a*x+y[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") a = symbols("a") y = Function("y") ode = Eq(-a*x - y(x) + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)