can someone solve this problem with dsolve?

>> syms y(t);
dsolve('Dy=sin(t)*cos(t)+2-(y*cos(t))')
ans =
C5*exp(-sin(t)) + exp(-sin(t))*int((exp(sin(t))*(sin(2*t) + 4))/2, t, 'IgnoreAnalyticConstraints', true)

Answers (1)

What problem? That is the solution.
Remember that many many integrals do not have a closed form solution.

This question is closed.

Products

Release

R2014b

Tags

Asked:

on 25 Jan 2020

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!