Flowchart Diferensiasi Numeris cara Forward Cara Forward : Dengan contoh soal : 10 REM Difereansiasi numeris dengan cara Forward 20 REM Oleh : WBS dan AP 30 REM Yogyakarta, 21 Desember 1994 40 CLS 50 INPUT “Harga x0 = “ , X0 60 INPUT “Interval diferensiasi = “ , EPS 70 X=X0+EPS 80 GOSUB 500 90 FPLUS=FX 100 X=X0-EPS 110 GOSUB 500 120 FMIN=FX 130 DFDX=(FPLUS-FMIN)/2/EPS 140 PRINT 150 PRINT “dy/dx pada x0 = “;X0;” adalah “;DFDX 160 END 500 REM subroutine menghitung F (X) 510 FX = X^3/3+X^2/4+1
Flowchart Komputasi Proses - Metode Diferensiasi Numeris (Forward, Backward, Central) - Metode Bisection - Metode Simpson - Metode Newton-Raphson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Flowchart Diferensiasi Numeris cara Forward Cara Forward :
Dengan contoh soal :
10 REM Difereansiasi numeris dengan cara Forward
20 REM Oleh : WBS dan AP
30 REM Yogyakarta, 21 Desember 1994
40 CLS
50 INPUT “Harga x0 = “ , X0
60 INPUT “Interval diferensiasi = “ , EPS
70 X=X0+EPS
80 GOSUB 500
90 FPLUS=FX
100 X=X0-EPS
110 GOSUB 500
120 FMIN=FX
130 DFDX=(FPLUS-FMIN)/2/EPS
140 PRINT
150 PRINT “dy/dx pada x0 = “;X0;” adalah “;DFDX
160 END
500 REM subroutine menghitung F (X)
510 FX = X^3/3+X^2/4+1
JAWABAN:
Flowchart Diferensiasi Numeris cara Backward Cara Forward :
Dengan contoh soal :
10 REM Difereansiasi numeris dengan cara Backward
20 REM Oleh : WBS dan AP
30 REM Yogyakarta, 21 Desember 1994
40 CLS
50 INPUT “Harga x0 = “ , X0
60 INPUT “Interval diferensiasi = “ , EPS
70 X=X0+EPS
80 GOSUB 500
90 FPLUS=FX
100 X=X0-EPS
110 GOSUB 500
120 FMIN=FX
130 DFDX=(FPLUS-FMIN)/2/EPS
140 PRINT
150 PRINT “dy/dx pada x0 = “;X0;” adalah “;DFDX
160 END
500 REM subroutine menghitung F (X)
510 FX = X^3/3+X^2/4+1
JAWABAN :
Flowchart Diferensiasi Numeris cara Center Cara Forward :