Internal
problem
ID
[17637]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
4.
Higher
Order
Equations.
Exercises
4.4,
page
163
Problem
number
:
43
Date
solved
:
Thursday, October 02, 2025 at 02:26:36 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
With initial conditions
ode:=diff(diff(y(t),t),t)+y(t) = tan(t)^2; ic:=[y(0) = 0, D(y)(0) = 1]; dsolve([ode,op(ic)],y(t), singsol=all);
ode=D[y[t],{t,2}]+y[t]==Tan[t]^2; ic={y[0]==0,Derivative[1][y][0] ==1}; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(y(t) - tan(t)**2 + Derivative(y(t), (t, 2)),0) ics = {y(0): 0, Subs(Derivative(y(t), t), t, 0): 1} dsolve(ode,func=y(t),ics=ics)