A linear equation is one that has the following form:
![y=m\cdot x+b](https://img.qammunity.org/2023/formulas/mathematics/college/3vdit4cyikmz0crw73cnwv4b8bte4f6lad.png)
Where "m" is the slope of the line, and "b" is the point at which it crosses the y-axis.
For our case "y" is actually represented by a "c", so we can rewrite the expression as:
![c=m\cdot x+b](https://img.qammunity.org/2023/formulas/mathematics/college/tog2g9nzazoq0rrby64vv5bt9tf9y2gwjs.png)
The first thing we need to do is determine the slope of the line, which is done by using the following formula:
![m=(c_2-c_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/college/6i8ymy19ao8y3rukozi9uypxfe1xooi9tu.png)
Where (x1,c1) and (x2,c2) are two data points, which were provided to us by the problem. Applying these on the expression, we have:
![\begin{gathered} m=(188-97)/(1997-1990) \\ m=(91)/(7)=13 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/mtt4lm0occf46s15na44xhlsx3uv9y80qg.png)
We have the following expression for now:
![c=13\cdot x+b](https://img.qammunity.org/2023/formulas/mathematics/college/5bfmrttxtgjky2tnih9hxp6y4p34sj7czs.png)
We need to determine the value for b, to do that we can apply a data point and solve for b.
![\begin{gathered} 188=13\cdot1997+b \\ 188=25961+b \\ b=188-25961 \\ b=-25773 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ab56t56tjw519hvoaklh6gla8vqw7x6y8f.png)
The full expression is:
![c=13\cdot x-25773](https://img.qammunity.org/2023/formulas/mathematics/college/uqmp0uhtrrmvjj341girefnqy6gfvilcro.png)
The expression is c=13*x-25773.
Now we need to use this expression to predict the cost in 2005. This is done by replacing x with 2005 and solving for c.
![\begin{gathered} c=13\cdot2005-25773 \\ c=292 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/lwy1ijvmbt74wxryvimp892lf2wg73q58a.png)
The cost of the tuition in 2005 will be $292 per credit hour.
Now we need to use the expression to predict in which year the tuition will cost $331 per credit hour.
![\begin{gathered} 331=13\cdot x-25773 \\ 13\cdot x=331+25773 \\ 13\cdot x=26104 \\ x=(26104)/(13) \\ x=2008 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/2jog6d762qfqndzs7hk102zsez20y6xt0e.png)
The tuition will cost $331 per credit hour in 2008.