SOLVING ODE USING LAPLACE

9 views (last 30 days)
GIDEON RUTARAKA
GIDEON RUTARAKA on 11 Dec 2020
Edited: John D'Errico on 11 Dec 2020
what's wrong with my code
  1 Comment
John D'Errico
John D'Errico on 11 Dec 2020
Edited: John D'Errico on 11 Dec 2020
By posting a PICTURE of your code, you force anyone who wants to help you to then type in your code from scratch. Is there a good reason why you want to make it more difficult for someone to answer your question, when it was actually easier to paste in the text of your m-code instead?
If you want a fast, helpful answer, then make it easy for someone to help you.
As for what is wrong with your code, does laplace actually solve the differential equation? If you read the help for laplace, it is NOT an ODE solver. It computes the laplace transform, that is all. And while you can use laplace transforms to solve an ODE, you stopped there.
You might want to do some reading:
Or, at least read your own notes from class, where this was probably covered.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!