How To Find First And Second Derivatives