Establish for which constants c the following function is a density.

f(x = cx^1/2 on (0,2 and 0 otherwise.

please show the steps taken.