Step-by-step explanation
We have the piecewise-defined function
![f(x)=\begin{cases}-3x-4,\text{ if }x\leq4 \\ -2x-6,\text{ if }x>4\end{cases},](https://img.qammunity.org/2023/formulas/mathematics/high-school/qcj9vs6n7v2afmc6ozhbyux9dxg3rpot1a.png)
and we want to calculate f(4). Informally, you can think of a piecewise-defined function as a function defined in branches. To calculate the value of an argument, you must look for the branch in which the argument lies, and then apply the formula of that branch.
In our case, note that 4 lies in the upper branch (4 is less or equal to 4); then,
![f(4)=-3(4)-4=-12-4=-16.](https://img.qammunity.org/2023/formulas/mathematics/high-school/7sxymzrz1dlsez9l95d9ppyg959a7yz54y.png)
Answer
![f(4)=16.](https://img.qammunity.org/2023/formulas/mathematics/high-school/kdfr3e7cmhk2s9hx9zuweqr5wszgn4jt57.png)