He studied mathematics and classics at Trinity, winning a classics scholarship in 1837, and graduating with the best First Class degree in mathematics in 1838.
He-aral ng matematika at Classics sa Tatlong-isa, isang panalong Classics scholarship sa 1837, at graduating sa pinakamahusay na Unang Klase degree sa matematika sa 1838.