Scripts in PHP about math subjects