Transcript text: $r(x)=-7 x \quad p(x)=x^{2}+8 x \quad q(x)=\sqrt{9-x}$
Solution
Solution Steps
To solve the given functions \( r(x) = -7x \), \( p(x) = x^2 + 8x \), and \( q(x) = \sqrt{9 - x} \), we can define each function in Python and evaluate them for a given value of \( x \).
Step 1: Evaluate \( r(2) \)
To evaluate the function \( r(x) = -7x \) at \( x = 2 \):
\[
r(2) = -7 \cdot 2 = -14
\]
Step 2: Evaluate \( p(2) \)
To evaluate the function \( p(x) = x^2 + 8x \) at \( x = 2 \):
\[
p(2) = 2^2 + 8 \cdot 2 = 4 + 16 = 20
\]
Step 3: Evaluate \( q(2) \)
To evaluate the function \( q(x) = \sqrt{9 - x} \) at \( x = 2 \):
\[
q(2) = \sqrt{9 - 2} = \sqrt{7} \approx 2.6458
\]
Final Answer
The evaluations yield:
\( r(2) = -14 \)
\( p(2) = 20 \)
\( q(2) \approx 2.6458 \)
Thus, the final answers are:
\[
\boxed{r(2) = -14}
\]
\[
\boxed{p(2) = 20}
\]
\[
\boxed{q(2) \approx 2.6458}
\]