Created
April 7, 2016 15:50
-
-
Save jweather/a9e615014768c7b645f9f4291e468c40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xA = ((Y[1]-Y[0])*(X[0]-X[2]) + (Y[2]-Y[0])*(X[1]-X[0]))/((X[0]-X[2])*(X[1]*X[1]-X[0]*X[0]) + (X[1]-X[0])*(X[2]*X[2]-X[0]*X[0])); | |
xB = ((Y[1] - Y[0]) - xA*(X[1]*X[1] - X[0]*X[0])) / (X[1]-X[0]); | |
xC = Y[0] - xA*X[0]*X[0] - xB*X[0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment