tRoot function

This function is used to find the root for a t-distribution pivotal quantity