Mathematics experiments in C++