# Math Help - Equation of this curve?

1. ## Equation of this curve?

(Apologies if I have posted this in the wrong section)

I'm working on a project for my Computing class, and I was wondering what the formula for this curve would be?

Any help would be very much appreciated

2. ## Re: Equation of this curve?

Originally Posted by SamstaUK
(Apologies if I have posted this in the wrong section)

I'm working on a project for my Computing class, and I was wondering what the formula for this curve would be?

Any help would be very much appreciated
Do you have any data values, or can you read them off the curve? If so, you should be able to use a Least-Squares regression to get a polynomial of the same order as the number of data values.

3. ## Re: Equation of this curve?

I can't get values with much precision, only where whole values on the y axis intercept the curve.

Someone gave me this formula for the curve, I really don't understand it!

Where pt is the performance at any time t, p0 is the initial performance, ka and kf (or k1 and k2) are gain terms relating the magnitudes of the positive adaptive and negative fatigue effects (and also serving to convert the units used to quantify training to the units used to quantify performance), τa and τf (or τ1 and τ2) are time constants describing the rate of decay of the positive adaptive and negative fatigue effects, and ws is the daily dose of training. The model therefore has four adjustable parameters, i.e., ka and kf (or k1 and k2) and τa and τf (or τ1 and τ2), which are constrained such that ka<kf (or k1<k2) and τa>τf (or τ1>τ2).
Does anyone know how I could simplify that?

4. ## Re: Equation of this curve?

Okay I found it out, I plotted two exponentially weighted moving averages, one with a time period of 42 days and another with 7 days, the curve above is the difference between the two. Thank you Dr. Andrew Coggan! (The person who's work I'm trying to implement)