functional square root

function that equals a given function when composed with itself