Skip to main content

Persamaan Differensial Biasa Metode Hemming

Persamaan Differensial Biasa (Ordinary Differential Equation) dengan metode hemming.




Hasil Running Program

Cara run Program di command windows MATLAB
>> clear, clf
>> a = 0; b = 5; y0 = 1; %batas atas/bawah nilai awal
>> N = 25; %number of segments
>> f = inline('-2*x*y^2','x','y'); % fungsi
>> f_s = inline('1./(x.^2 + 1)','x'); % fungsi sejati
>> [t,yH] = ode_Ham(f,[a b],y0,N);
>> yt1=f_s(t);
Referensi

W. Y. Yang, W. Cao, T.-S. Chung dan J. Morris, Applied numerical methods using MATLAB, Canada: John Wiley & Sons, Inc, 2005.

Comments

Popular posts from this blog

Permainan Bola Tangan

Langit Merah

3D Rotational Matrix (Matriks rotasi 3 dimensi) Roll, Pitch, dan Yaw