Step 1: Examine the first part of the function. For \( x \leq 2 \), the function is: \[ f(x) = -x^3 + 3x^2 + 1. \] Taking the derivative: \[ f'(x) = -3x^2 + 6x. \] Setting \( f'(x) = 0 \) to find critical points: \[ -3x^2 + 6x = 0 \quad \Rightarrow \quad x(x - 2) = 0. \] Thus, the critical points are \( x = 0 \) and \( x = 2 \). For \( x = 0 \), \( f''(x) = 6 \), indicating a local minimum.
For \( x = 2 \), \( f''(x) = -6 \), indicating a local maximum.
Step 2: Examine the second part of the function. For \( 2 < x \leq 4 \), the function is: \[ f(x) = \cos(x). \] The derivative is: \[ f'(x) = -\sin(x). \] Setting \( f'(x) = 0 \) gives \( \sin(x) = 0 \), which occurs at \( x = \pi \). This is a local maximum since \( \cos(x) \) has a maximum at \( x = \pi \).
Step 3: Examine the third part of the function. For \( x > 4 \), the function is: \[ f(x) = e^{-x}. \] This function is always decreasing, so no maximum exists here.
Step 4: Conclusion. The function has a local maximum at \( x = 2 \) for the first piece, but it is not the global maximum because the global maximum occurs at \( x = \pi \) for the second piece of the function, where \( \cos(x) \) attains its maximum value. Thus, the correct answer is: \[ \boxed{(2) \, f(x) \text{ has a local maximum at } x = 2, \text{ which is not the global maximum.}}. \]
In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half the shortest distance between the point P and the line QR. What is the ratio of the area of the triangle PST to the area of the trapezium SQRT?
Note: The figure shown is representative
In the adjoining figure, $\triangle CAB$ is a right triangle, right angled at A and $AD \perp BC$. Prove that $\triangle ADB \sim \triangle CDA$. Further, if $BC = 10$ cm and $CD = 2$ cm, find the length of AD.
Five friends A, B, C, D, and E are sitting in a row facing north, but not necessarily in the same order:
B is to the immediate left of C
E is not at any of the ends
D is to the right of E but not next to C
A is at one of the ends
Who is sitting in the middle?