Recent content by theoarc

  1. T

    Quadratic Equation from 3 points

    Exactly. Just to push this a step further. h = -b/a * 0.5 k = c-(h*h)*a I'm using h and k for what I need because I want to be able to move the parabola as a whole with ease.
  2. T

    Quadratic Equation from 3 points

    Thanks Martin Rattigan, Your method works great. Also delivers a time under 1 millisecond even though there is a lot more variable creation. Thanks a lot. :)
  3. T

    Quadratic Equation from 3 points

    Okay so I finally got around to seriously testing Xitami's equations and A seems to work on all tests. But B and C seem to be a little off. Is there anything noticeably off in the equations. When y1 is 0 everything seems to work out okay. When y1 is another number it doesn't work out as...
  4. T

    Quadratic Equation from 3 points

    Xitami, that's perfect! I've only tested it once but it worked brilliantly. Also takes less than 1ms to complete. That's at least 5x the speed of using the matrix class. Thanks a lot :D
  5. T

    Quadratic Equation from 3 points

    haha Phizo, that looks like a fun experiment. Not exactly sure it's what I am after... not exactly sure I understand it. You should do some speed tests on it to solve something simple like: (2, 0) , (-2, 0) , (0, 4) Currently I'm writing the code in AS3; however, in the end it will need to be...
  6. T

    Quadratic Equation from 3 points

    Okay so this seems like a very simple problem to me but I can't figure it out so I definitely need some help. I'm not a mathematician but a programmer and in this case I need to figure out how to get the curve that passes through 3 points. I know this can be done easily with substitution but...
Back
Top