Курсовая работа: Метод Гаусса для расчета электрических цепей
For i = n - 1 To 1 Step - 1
For j = i + 1 To n
X (i) = X (i) - a (i, j) * X (j)
Next j
Next i
Text1. Text = Format (X (1), "0.000") & " A"
Text2. Text = Format (X (2), "0.000") & " A"
Text3. Text = Format (X (3), "0.000") & " A"
Text4. Text = Format (X (4), "0.000") & " A"
Text5. Text = Format (X (5), "0.000") & " A"
Text6. Text = Format (X (6), "0.000") & " A"
End Sub
Private Sub mnAbout_Click ()
frmAbout. Show
End Sub
Private Sub mnExit_Click ()
End
End Sub
Private Sub dann ()
n = 6
m = 7
a (1,1) = - 1
a (1,2) = 1
a (1,3) = 1
a (1,4) = 0
a (1,5) = 0
a (1,6) = 0
a (2,1) = 0
a (2,2) = 0