I tried to use haversine i couldn’t succeed
Basically my problem is i have 3 map locations with their Lat and Long values.
What i trying to do is getting this triangle’s middle point.
Here is the picture

I Have the locations of H, F and I points. i need to know question mark’s location.
41.040035,28.984026
41.040868,28.985807
41.039136,28.984981
PHP, MYSQL or Objective C any of these languages are ok as an answer.
Even suggestions are appreciated.
Thanks.
I checked this example : http://geomidpoint.com/example.html
And wrote a function in PHP, hope this is helpful …
[edit] i forgot to convert to radians for the calculations so it gave a different output, so now it should be working fine …