Programming(maths help)

Discussion in 'Homework Help' started by ecjohnny, Sep 2, 2011.

  1. ecjohnny

    Thread Starter Senior Member

    Jul 16, 2005
    142
    0
    http://imageshack.us/photo/my-images/820/coordmid.jpg/

    Pls help me and guide me into solving this. My maths is weak so please explain to me step by step. Anyway this a a programming question. i just need steps to solve it. There is also a hint : using perpendicular line formula

    Attempt solution/what i think : Using A & B to get m1 then using perpendicular formula, to get m2(at point D). Apply same method to get m at E. so now the two mD and mE will intersect at center. From here i am lost and how to find the center coords and the radius.

    Thanks
     
  2. someonesdad

    Senior Member

    Jul 7, 2009
    1,585
    141
    Google "circle from three points" and you'll find plenty of info. Part of your programming assignment might be to look for roundoff error problems -- pay attention to when denominators approach zero.
     
Loading...