Calculus functions in Julia