Cool Math Functions And Logic