Finding derivatives of specific functions