The function \( f(x) = x^2 |x| \) can be written as: \[ f(x) = \begin{cases} x^3 & \text{if } x \geq 0, \\ -x^3 & \text{if } x < 0. \end{cases} \]
To check differentiability at \( x = 0 \), we compute the left-hand derivative (LHD) and the right-hand derivative (RHD).
1. Right-hand derivative (RHD): \[ f'(x) = \frac{d}{dx}(x^3) = 3x^2 \quad \text{for } x \geq 0. \] At \( x = 0 \), RHD: \[ f'_+(0) = 3(0)^2 = 0. \]
2. Left-hand derivative (LHD): \[ f'(x) = \frac{d}{dx}(-x^3) = -3x^2 \quad \text{for } x < 0. \] At \( x = 0 \), LHD: \[ f'_-(0) = -3(0)^2 = 0. \]
Since \( f'_+(0) = f'_-(0) = 0 \), the derivative exists and is continuous. Therefore, \( f(x) \) is differentiable at \( x = 0 \).

A ladder of fixed length \( h \) is to be placed along the wall such that it is free to move along the height of the wall.
Based upon the above information, answer the following questions:
(iii) (b) If the foot of the ladder, whose length is 5 m, is being pulled towards the wall such that the rate of decrease of distance \( y \) is \( 2 \, \text{m/s} \), then at what rate is the height on the wall \( x \) increasing when the foot of the ladder is 3 m away from the wall?