teorema Ferma dhe studimi i monotonis