Select the correct answer.

Which mathematician authored a book that gave algebra its name?

A. Descartes
B. Diophantus
C. Fibonacci
D. al-Khwārizmī