Originally Posted by

**Dogod11** Hi good morning: I have a question with the following:

In a university in 2002 had 10,400 students enrolled, and 2007, 13200.

Estimating how many there were: 2003, 2005, 2000, 2010 and 2040.

**SOLUTION:**

For the linear interpolation formula:

$\displaystyle f(x) = f(x_0) + \displaystyle\frac{f(x_1) - f(x _0)}{x_1 - x_0} (x- x_0)$

And replacing the values:

For the year **2003:**

$\displaystyle = 10400 + \displaystyle\frac{\begin{color}{red}10400 - 13200\end{color}}{2007 - 2002} (2003 - 2002)= 9840$

For the year **2005:**

$\displaystyle = 10400 + \displaystyle\frac{\begin{color}{red}10400 - 13200\end{color}}{2007 - 2002} (2005 - 2002) = 8720$

And so on.

But when calculating the year 2040 the output is: $\displaystyle -10880$

Here is my question. Is that correct?

Greetings and apologies if this is not the forum suitable, to me is an ongoing problem of mathematical analysis.