Hi

First one:

If approaches zero from the right, we have:

Now we approach from the left. Note that , is an even function.

So the function is not differentiable at .

The second one you basically do the same thing.

and

.

So the second one is differentiable.