I am trying to make a windows app where i can write to equations, in 2 textboxes, with 2 unknown, x and y, and then press a button and get the x and y written in a label or something.
I have tried to make it myself and i have used about 10 hours the last 2 days so now i have to just ask for help.
The app hould calculate x and y by this formel(on danish it is called "determinan t-metoden" and i would translate it to be "determinan t-method", but i haven't found anything about how to say it on englsih):
D= a1*b2-a2*b1 (if D == 0 then it should not continue with the following because then there is no answer or there is infinite anwsers)
Dx = c1*b2-c2*b1
Dy = a1*c2-a2*c1
x = Dx/D
y = Dy/D
Just ask if you have any questions. =)
I have tried to make it myself and i have used about 10 hours the last 2 days so now i have to just ask for help.
The app hould calculate x and y by this formel(on danish it is called "determinan t-metoden" and i would translate it to be "determinan t-method", but i haven't found anything about how to say it on englsih):
D= a1*b2-a2*b1 (if D == 0 then it should not continue with the following because then there is no answer or there is infinite anwsers)
Dx = c1*b2-c2*b1
Dy = a1*c2-a2*c1
x = Dx/D
y = Dy/D
Just ask if you have any questions. =)
Comment