Before giving the proof I need to state a few definitions.
Let D be the set of all differentiable functions.
Let

The following properties about P can easily proved.
1.If

then

.

2.If

then

.

3.If

then

.

Now let

We now prove an amazing theorem,
If
then,f can be differentiated infinitely many times.PROOF:(BY INDUCTION)
Assume

where

As

or

exists.
Now,


Using properties 1,2 and 3

Hence

By induction the theorem is thus valid for all

Now to the actual problem.We have the function

Hence, h is

smooth for non-positive values of x.
Also,

In this case,

and is again

smooth for positive x.
Thus,

smooth
