Escolar Documentos
Profissional Documentos
Cultura Documentos
Option Explicit
Dim X(1000), T, I, E
'F = Log(X) - X + 2
End Function
End Function
End Function
End Function
xx0 = -a1 + Di
xx1 = -a1 - Di
Else
Xi = 2 * a0 / xx1
End Function
TxtX0.SetFocus
Exit Sub
End If
X(0) = Val(TxtX0.Text)
lblI.Caption = lblI.Caption & Chr(13) & Format(0, "000") & " " & Format(X(0),
"0.000000000") & " "
X(1) = Val(TxtX1.Text)
lblI.Caption = lblI.Caption & Chr(13) & Format(1, "000") & " " & Format(X(1),
"0.000000000") & " " & Format(Abs((X(0) - X(1))), "0.000000000")
X(2) = Val(TxtX2.Text)
lblI.Caption = lblI.Caption & Chr(13) & Format(2, "000") & " " & Format(X(2),
"0.000000000") & " " & Format(Abs((X(1) - X(2))), "0.000000000")
T = Val(TxtT.Text)
E=T+1
I=3
Do While E >= T