Formula for the First Derivative of drug_d(t) and for t_peak:
Formula for the Second Derivative of drug_d(t) and for t_max_rate:
Formula for tif(t), the First Derivative of tif(t), and t_min_intercept: