Text this: Episodes in the Mathematics of Medieval Islam