Step 1: Analyze the continuity of \( f(x) \).
To check if \( f(x) \) is continuous at \( x = 0 \), we need to evaluate the limit: \[ \lim_{x \to 0} f(x) = \lim_{x \to 0} |x|^{1/8} \sin \frac{1}{|x|} \cos x \] Since \( \sin \frac{1}{|x|} \) oscillates between -1 and 1 as \( x \to 0 \), and \( |x|^{1/8} \to 0 \), we have: \[ \lim_{x \to 0} f(x) = 0 \] However, \( f(0) = 0 \), so \( f(x) \) is continuous at \( x = 0 \).
Step 2: Analyze the continuity of \( g(x) \).
We check if \( g(x) \) is continuous at \( x = 0 \): \[ \lim_{x \to 0} g(x) = \lim_{x \to 0} e^x \cos \frac{1}{x} \] Since \( e^x \) approaches 1 and \( \cos \frac{1}{x} \) oscillates, \( \lim_{x \to 0} g(x) \) does not exist, and \( g(x) \) is not continuous at \( x = 0 \).
Final Answer: \[ \boxed{f \text{ is continuous at } x = 0, \, g \text{ is NOT continuous at } x = 0} \]