Internal
problem
ID
[2349]
Book
:
Differential
equations
and
their
applications,
3rd
ed.,
M.
Braun
Section
:
Section
1.10.
Page
80
Problem
number
:
6
Date
solved
:
Saturday, March 29, 2025 at 11:58:21 PM
CAS
classification
:
[[_Riccati, _special]]
With initial conditions
ode:=diff(y(t),t) = t+y(t)^2; ic:=y(0) = 0; dsolve([ode,ic],y(t), singsol=all);
ode=D[y[t],t]== t+y[t]^2; ic={y[0]==0}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(-t - y(t)**2 + Derivative(y(t), t),0) ics = {y(0): 0} dsolve(ode,func=y(t),ics=ics)
TypeError : bad operand type for unary -: list