Step 1 :Define the function as \(f = x^{2} + 2x - 5\)
Step 2 :Calculate the indefinite integral of the function, which results in \(\frac{1}{3}x^{3} + x^{2} - 5x + C\)
Step 3 :Calculate the definite integral of the function from 7 to 9, which results in \(\frac{452}{3}\)
Step 4 :So, the general indefinite integral of the function \(x^{2}+2 x-5\) is \(\boxed{\frac{1}{3}x^{3} + x^{2} - 5x + C}\)
Step 5 :And the definite integral of the function \(x^{2}+2 x-5\) from 7 to 9 is \(\boxed{\frac{452}{3}}\)