The Treatise on Equations of Sharaf al-Dīn al-Ṭūsī (2nd half of the 12th century) is in the tradition of ‛Umar al-Khayyām (d. 1131). However, it has two special features. First, it contains a full discussion of the existence of a solution for third-degree equations, which al-Ṭūsī establishes by proving that the conic curves that represent this solution effectively intersect – a proof based on an intuitive notion of connexity. Secondly, al-Ṭūsī develops algorithms for the numerical resolution of these third-degree equations. The first stage of one of these algorithms follows a procedure which is akin to the so-called method of Newton's polygon.