Given:
The value of the function g(x) is −2 when x=−5 and is 5.7 when x=6.
To find:
The equation of the function.
Solution:
The value of the function g(x) is −2 when x=−5. It means the graph of function passes through (-5,-2).
The value of the function g(x) is 5.7 when x=6. It means the graph of function passes through (6,5.7).
The equation of function g(x) that passes through (-5,-2) and (6,5.7) is
![y-y_1=(y_2-y_1)/(x_2-x_1)(x-x_1)](https://img.qammunity.org/2021/formulas/mathematics/college/2ft4curll9g1xqqt5yfsd57zfqfj5z775i.png)
![y-(-2)=(5.7-(-2))/(6-(-5))(x-(-5))](https://img.qammunity.org/2021/formulas/mathematics/high-school/9y8s9tt7d1w56bxmh6baoqnxj1nzuu487y.png)
![y+2=(5.7+2)/(6+5)(x+5)](https://img.qammunity.org/2021/formulas/mathematics/high-school/b449hrwd5vl8qcray1ly2l5sgpah1fvvhz.png)
![y+2=(7.7)/(11)(x+5)](https://img.qammunity.org/2021/formulas/mathematics/high-school/txxjxzawqpjz1upykwttr0yf4iio83awgy.png)
![y+2=0.7(x+5)](https://img.qammunity.org/2021/formulas/mathematics/high-school/ipfwnouhz9pjtllubmtloebmzbqz3qgc3s.png)
![y+2=0.7x+3.5](https://img.qammunity.org/2021/formulas/mathematics/high-school/lulobrqk457s9xeeyjeu2ytfx0tyxzvg48.png)
Subtract 2 from both sides.
![y=0.7x+3.5-2](https://img.qammunity.org/2021/formulas/mathematics/high-school/rfk2c9ble3ma0r7j63ky0x4p0iklmstw1g.png)
![y=0.7x+1.5](https://img.qammunity.org/2021/formulas/mathematics/high-school/20c9c1tchvmnun2b5ikga8sxmwj21mcbgq.png)
Therefore, the equation of function g(x) is
.