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

John D'Errico
John D'Errico 2021년 11월 20일
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.

댓글을 달려면 로그인하십시오.

답변 (2개)

Yusuf Suer Erdem
Yusuf Suer Erdem 2021년 11월 20일

1 개 추천

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

taojian li
taojian li 2021년 11월 20일
how to solve it using euler's method?

댓글을 달려면 로그인하십시오.

Yusuf Suer Erdem
Yusuf Suer Erdem 2021년 11월 20일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2021년 11월 20일

답변:

2021년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by