2nd Order Differential Equation solver

I want to be able to solve a 2nd order differential equation analytically, where it gives me the equation of the solution. I know how to solve it using the ode45 solver, but I was wondering if Matlab was able to give me the analytical solution as well. Is it even possible to do this in Matlab?
Thanks for the help!

 Accepted Answer

If you have the symbolic toolbox, you may be able to use MuPad's dsolve()

1 Comment

Thank you so much for this! This is very helpful. Made my day!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!