For a laboratory assignment, if the equipment is working, the density function of the observed outcome X is as shown below. Find the variance and standard deviation of X.

f(x) ={ (1/2)(4-x), 0 < < 4
0, otherwise