フィルターのクリア

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 Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by