Mathematical instrument