differentiate arccos((a(t)d(t)+b(t)e(t)+c(t)f(t))/(sqrt(a(t)^2+b(t)^2+c(t)^2)sqrt(d(t)^2+e(t)^2+f(t)^2)))