The Timurid emperor, Ulugh Beg, was an accomplished mathematician and one of the greatest astronomers…