Implementations of several calculation methods for related mathematical problems