Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

What is the solution of differential equations ?

1 Ansicht (letzte 30 Tage)
4OsT
4OsT am 21 Dez. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi all
How can I solve in matlab ;
D2y + y = sinx
answer y = c1*cosx + c2*sinx -x*cosx/2
Please Help me.
  1 Kommentar
4OsT
4OsT am 21 Dez. 2012
dsolve('D2y + y = sinx','x')
y = sinx + C11*cos(x) + C12*sin(x)
wrong answer :(

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 21 Dez. 2012
sol=dsolve('D2y + y = sin(x)','x')

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by