How to solve and plot a 2nd oder differenetial equation?

조회 수: 6 (최근 30일)
Mergu3z_FPSP
Mergu3z_FPSP 2020년 6월 24일
댓글: Star Strider 2020년 6월 24일
i have already done the solving part but i am stuck on the plotting.Here is the question
Find a 2 pi periodic solution to the equation x''+2x'+x=cos(t)
Also find the solution to x''+2x'+x=cos(t), x(0)=x'(0)=0
and verify that it approaches the periodic solution as t grows
Here is what i wrote on matlab
syms t xt
xt=dsolve('D2x+2*Dx+1*x=cos(t)','x(0)=Dx(0)=0')
please help for the question and the plot if it has to be between time period / limits

답변 (0개)

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by