필터 지우기
필터 지우기

Predictor-Corrector and trapeze method

조회 수: 1 (최근 30일)
DINU ANDREEA-EMILIA
DINU ANDREEA-EMILIA 2020년 6월 2일
Predictor-Corrector method. Write a program that solves
y′ = f(x,y)
y(x0)= y0, using trapeze method with fixed step h. For the predictor use Euler's method. Solve next equation with the step size h=0.5 and 0.25 on [0,10]:
y′=-y+2*cos(x); y(0)=1; y(x)=sin(x)+cos(x).
Please help me solve this problem, i also have to do a GUI for it, but at least i want to know the code that just solves the equation.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by