The sufficiency of the Scriptures does not mean they are all we need for the purpose of learning geometry or algebra. The Westminster divines confessed their faith in the sufficiency, but not the omni-sufficiency of Scripture.
Dr. Samuel E. Waldron, A Modern Expostion of the 1689 Baptist Confession of Faith