In the figure, ABCD is a quadrilateral in which BC=3cm,AD=13cm,DC=12cm and △ABD=△BCD=90o. Calculate the length of AB.
The given figure shows a quadrilateral ABCD in which AD = 13 cm, DC = 12 cm, BC = 3 cm and ∠ABD=∠BCD=90∘. Then the length of AB is ____.