0% found this document useful (0 votes)
34 views4 pages

Dim Delta As Integer

The document appears to be code for solving systems of equations using matrices. It includes variables, subroutines, and commands for inputting values into text boxes, clearing text boxes, calculating determinants of matrices, and performing operations on the matrices including addition, subtraction and multiplication to solve systems of 2x2 equations. The code handles input, calculations, and output of the matrix operations and solutions.

Uploaded by

Mike Vazquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views4 pages

Dim Delta As Integer

The document appears to be code for solving systems of equations using matrices. It includes variables, subroutines, and commands for inputting values into text boxes, clearing text boxes, calculating determinants of matrices, and performing operations on the matrices including addition, subtraction and multiplication to solve systems of 2x2 equations. The code handles input, calculations, and output of the matrix operations and solutions.

Uploaded by

Mike Vazquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

qwertyuiopasdfghjklzxcvbn

mqwertyuiopasdfghjklzxcv
bnmqwertyuiopasdfghjklzx
cvbnmqwertyuiopasdfghjkl
Mtodos numricos
Matrices de 2*2
zxcvbnmqwertyuiopasdfghj
klzxcvbnmqwertyuiopasdfg
hjklzxcvbnmqwertyuiopasd
fghjklzxcvbnmqwertyuiopa
sdfghjklzxcvbnmqwertyuio
pasdfghjklzxcvbnmqwertyu
iopasdfghjklzxcvbnmqwert
yuiopasdfghjklzxcvbnmqwe
rtyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbn
mqwertyuiopasdfghjklzxcv
bnmqwertyuiopasdfghjklzx
Miguel Angel Vazquez espinosa
Salvador Avia Gonzlez
F-35

Dim Delta As Integer


Private Sub Command1_Click()
For i = 0 To 3
Text1(i).Text = InputBox("Escribe un numero")
Next i
End Sub
Private Sub Command10_Click()
Text1(0).Text = ""
Text1(1).Text = ""
Text1(2).Text = ""
Text1(3).Text = ""
Text5(0).Text = ""
Text5(1).Text = ""
Text5(2).Text = ""
Text5(3).Text = ""
Text9(0).Text = ""
Text9(1).Text = ""
Text9(2).Text = ""
Text9(3).Text = ""
End Sub
Private Sub Command11_Click()
A = Text5(0).Text
B = Text5(1).Text
C = Text5(2).Text
D = Text5(3).Text
Delta = ((A * D) - (B * C))
If Delta = 0 Then
Else
Text9(0).Text = (D / Delta)
Text9(1).Text = (-B / Delta)
Text9(2).Text = (-C / Delta)
Text9(3).Text = (A / Delta)
End If
End Sub
Private Sub Command2_Click()
For i = 0 To 3
Text5(i).Text = InputBox("Escribe un numero")
Next i
End Sub
Private Sub Command3_Click()
Text1(0).Text = ""
Text1(1).Text = ""
Text1(2).Text = ""
Text1(3).Text = ""
End Sub
Private Sub Command4_Click()
Text5(0).Text = ""
Text5(1).Text = ""
Text5(2).Text = ""

Text5(3).Text = ""
End Sub
Private Sub Command5_Click()
A = Text1(0).Text
B = Text1(1).Text
C = Text1(2).Text
D = Text1(3).Text
Delta = ((A * D) - (B * C))
If Delta = 0 Then
Else
Text9(0).Text = (D / Delta)
Text9(1).Text = (-B / Delta)
Text9(2).Text = (-C / Delta)
Text9(3).Text = (A / Delta)
End If
End Sub
Private Sub Command6_Click()
For i = 0 To 3
Text9(i).Text = Text1(i).Text - (-Text5(i).Text)
Next i
End Sub
Private Sub Command7_Click()
For i = 0 To 3
Text9(i).Text = Text1(i).Text - (Text5(i).Text)
Next i
End Sub
Private Sub Command8_Click()
For i = 0 To 3
Text9(i).Text = (Text1(1).Text * Text5(1).Text) - (-(Text1(2).Text * Text5(2).Text))
Next i
End Sub
Private Sub Command9_Click()
End
End Sub

You might also like