Programming(maths help)

Thread Starter

ecjohnny

Joined Jul 16, 2005
142
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
 

someonesdad

Joined Jul 7, 2009
1,583
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.
 
Top