Solve the 2-nd order differential equations y"+2y'=3x

9 views (last 30 days)
Hello everyone, I'm a new student who just know about Matlab, this is my first exercise, so I wonder if somebody can help me solve this problem.
Solve the 2-nd order differential equations y"+2y'=3x
Thanks a lot, and I will improve it immediately.

Accepted Answer

Star Strider
Star Strider on 14 May 2021
One approach would be to do this symbolically and solve it using the dsolve function.
  8 Comments
Paul
Paul on 15 May 2021
Got it. Is there still an open question about the 3/8?
Star Strider
Star Strider on 15 May 2021
No longer for me. It’s an offset required to satisfy the initial conditions. MATLAB creates (and ) as initial conditions, and with initial conditions of 0 (where this is easiest to see), is 0, since it would then cancel the second term in , that being , satisfying the intital condition.
Wolfram alpha likely includes it in .

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!