Please check 2nd ODE code?

I have to solve this problem. So, I made M.file
Lastly, I got a graph like this
But, I'm not sure it is correct or not. Anyone check it? And If it is incorrect, can you modify my code?

Answers (1)

Torsten
Torsten on 12 Dec 2016
Edited: Torsten on 12 Dec 2016
You wrote 1.2 instead of 12 in the definition of ydot.
Best wishes
Torsten.

This question is closed.

Tags

Asked:

on 11 Dec 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!