High school students can blame ancient India for quadratic equations and calculus.