I'm asked to parametrize the trajectory of an object that goes from p0 to p1 in a straight line, then from p1 to p2 in a straight line then finally from p2 to p3 in a straight line. This has to be done in the form c:[a,b]-->Rn (a curve in the nth dimension) and off course p0, p1, p2, p3 are points of Rn.

Thanks!