Surya Siddhanta
लग्नम् पर्वान्तनाडीनाम् कुर्यात् स्वैर् उदयासुभिः।तज्ज्यान्त्यापक्रमज्याघ्नी लम्बज्याप्तोदयाभिधा॥
At the end of the time of conjunction (from sunrise) in ghatikás find the place of the horoscope through the rising periods at a given place (and apply it with the amount of the precession of the equinoxes.) Its sine multiplied by the sine of greatest declination (or sin 24°) and divided by the cosine of latitude gives a quantity called the udayá (or the sine of amplitude of the horoscope).
english translation
lagnam parvAntanADInAm kuryAt svair udayAsubhiH।tajjyAntyApakramajyAghnI lambajyAptodayAbhidhA॥
hk transliteration by Sanscript