sqrt t*(1-t)^2 derivative