These commands are included in the  complete code for the root finding function RtoT  listed here: