Hi I'm new to matlab and I'm having trouble to solving the following equation using euler's method
y''+(1/10)*y''+siny=0

1 commentaire

John D'Errico
John D'Errico le 20 Nov 2021
Answers is not here to do your homework problems. If you try writing the code, and then you see a problem, THEN ask a question. You might get more help at that point.

Connectez-vous pour commenter.

Réponses (2)

Yusuf Suer Erdem
Yusuf Suer Erdem le 20 Nov 2021

1 vote

Let s assume that is your problem below;
y''(x)+(1/10)*y''(x)+sin(y)=0
These codes below will solve your problem;
syms y(x)
ode = diff(y,x,2)+(1/10)*diff(y,x,2)+sin(y) == 0;
ySol(x) = dsolve(ode)

1 commentaire

taojian li
taojian li le 20 Nov 2021
how to solve it using euler's method?

Connectez-vous pour commenter.

Yusuf Suer Erdem
Yusuf Suer Erdem le 20 Nov 2021

0 votes

There are multiple solutions over internet but i was not able to implement your specific problem.

Catégories

En savoir plus sur Mathematics dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by