Compute derivatives of logarithmic, exponential, and polynomial functions with full chain rule support.
ln(x)
ln(x²+1)
e^(x)
5^(x²)
ln(e^(2x+1))
x²
x³+2x