How I can solve diferential equation using Matlab?

Hello, my lecturer recommended me to find x value from 2nd differential oscillation equation using matlab, like attached below. Anyone can help me to solve this problem?

Community Treasure Hunt

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

Start Hunting!

Translated by