Which of the following is the contribution of Al-Khwarizmi to the world of mathematics?
A. He developed the formula and process used to make Persian rugs.
B. His work became the basis for algebra.
C. He created the number system based on Chinese number system.
D. He determined the formula for finding the hypotenuse of a right triangle.