Hi guys, in the attached code I'm having a lot of trouble figuring out the error "0.4 is not a valid variable". I also need further help if anyone is willing to assist. Thanks!
r[t_] := {Sin[5 t], t^4, Cos[5 t]}
v[t_] := D[{Sin[5t],t^4, Cos[5t]}, t]
(*1a*)
ParametricPlot3D[r[t], {t, 0, 2 Pi/5}]
(*1b*)
unitVector = v[0.4]/Norm[v[0.4]]
(*1c*)
tangentLine[t_] := r[0] + unitVector[0.4]
(*integral as notated in the written homework*)
(*Integrate[((7t^5-2)^2+(3t^4+4)^2+(4t^3+3)^2)^(1/2),{t,0,5}]*)