Internal
problem
ID
[8175]
Book
:
A
First
Course
in
Differential
Equations
with
Modeling
Applications
by
Dennis
G.
Zill.
12
ed.
Metric
version.
2024.
Cengage
learning.
Section
:
Chapter
1.
Introduction
to
differential
equations.
Exercises
1.1
at
page
12
Problem
number
:
16
Date
solved
:
Tuesday, September 30, 2025 at 05:18:08 PM
CAS
classification
:
[[_2nd_order, _linear, _nonhomogeneous]]
ode:=diff(diff(y(x),x),x)+y(x) = tan(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+y[x]==Tan[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - tan(x) + Derivative(y(x), (x, 2)),0) ics = {} dsolve(ode,func=y(x),ics=ics)