AnOtHeR MATH QUESTION (SMH). HELP PLEASE !!!

Answer:
For the function: [tex]g(x)=-x^2-3x+5[/tex], the average rate of change of function over the interval [tex]-7\leq x\leq 2[/tex] is 2
Step-by-step explanation:
We are given function: [tex]g(x)=-x^2-3x+5[/tex], we need to find average rate of change of function over the interval [tex]-7\leq x\leq 2[/tex]
The formula used is: [tex]Average \ rate \ of \ change=\frac{g(b)-g(a)}{b-a}[/tex]
We have b=2 and a= -7
Finding f(b) and f(a)
Finding g(b) by putting x=2
[tex]g(x)=-x^2-3x+5\\g(2)=-(2)^2-3(2)+5\\g(2)=-4-6+5\\g(2)=-10+5\\g(2)=-5[/tex]
Finding g(a) by putting x=-7
[tex]g(x)=-x^2-3x+5\\g(-7)=-(-7)^2-3(-7)+5\\g(-7)=-49+21+5\\g(-7)=-23[/tex]
Now, finding average rate of change when g(b)=-5 and g(a)=-23
[tex]Average \ rate \ of \ change=\frac{g(b)-g(a)}{b-a}\\Average \ rate \ of \ change=\frac{-5-(-23)}{2-(-7)}\\Average \ rate \ of \ change=\frac{-5+23}{2+7}\\Average \ rate \ of \ change=\frac{18}{9}\\Average \ rate \ of \ change=2[/tex]
So, Average rate of change = 2
Therefore for the function: [tex]g(x)=-x^2-3x+5[/tex], the average rate of change of function over the interval [tex]-7\leq x\leq 2[/tex] is 2