Implemented euler()