I'm making an applet for distance runners that predicts their finish time for any distance, using recent race times for any distance. For example, a user might enter 3 recent race times which are 16:37 for a 5k (5:21 min/mile pace), 27:42 for an 8k (5:34 min/mile pace), and 35:18 for a 10k (5:41 min/mile pace), then my "finish time calculator" could predict their finish time for a race of any distance. I've found that distance vs. pace follows a logistic curve like the one pictured below.(adsbygoogle = window.adsbygoogle || []).push({});

http://luna.cas.usf.edu/~mbrannic/files/pmet/image329.gif [Broken]

Hence I want to predict their race finish times using a logistic function f(x) = C_{1}(1/(1+C_{2}e^{-C3x})). How do I do this, though?

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I need an algorithm to best-fit a curve

Loading...

Similar Threads - need algorithm best | Date |
---|---|

I Teacher needs maths assistance please | Jan 18, 2018 |

I Need Aproximate expressions for : ln(x) and 1/ln(x) Thanks | Nov 1, 2017 |

What branches of mathematics do I need to know to make AI algorithms? | Sep 27, 2014 |

What sort of Math do I need for a plagiarism detection algorithm? | Nov 12, 2013 |

Need Help [Discrete math / Algorithms] | Sep 30, 2007 |

**Physics Forums - The Fusion of Science and Community**