13

ESPOCH
FACULTAD DE INfORMÁTICA ELECTRONICA

IV.

DIAGRAMA DE FLUJO
INICIO
n
i = 1, n, 1
j = 1, n, 1
A[i] [j]

i>j

U[i] [j] = 0

L[i] [j] = 0

i=j
L[i] [j] = 1

(j =1) && (i≥2)

L[i] [j] = A[i][j]/U[j][j]

B[i] [j]

A

14 ESPOCH FACULTAD DE INfORMÁTICA ELECTRONICA A i = 2. 1 sL = 0 sU = 0 k = 1. n. i-1. 1 sL = L[i][k]*U[k][j] +sL L[i][j] = A[i][j] . n.sU k = 1. 1 sU = L[i][k]*U[k][j] +sU U[i][j] = A[i][j] . i-1. n.sL i = 1. 1 sb’a = B[i]*L[k][j] +sb’a B . 1 j = 2. 1 sb’a = 0 sb’d = 0 k = 1. j-1.

1.1. n. 1 X[i] FIN . i. n.15 ESPOCH FACULTAD DE INfORMÁTICA ELECTRONICA B k = i+1. n. 1 sb’d = B[i]*L[k][j] +sb’d b’[i] = B[i] – sb’a – sb’d i = n. 1 sXa = b’[i]*U[k][j] +sXa X[i] = (b’[i] – sXa – sXd)/ U[i][i] i = i. -1 sXa = 0 sXd = 0 k = i . 1 sXa = b’[i]*U[k][j] +sXa k = i+1.

Sign up to vote on this title
UsefulNot useful