Basics for calculation point to point motion profiles based on the paper Mu, Haihua. (2009). THIRD ORDER POINT-TO-POINT MOTION-PROFILE. An excerpt of that paper can be found here.
The project includes a WPF application which visualizes the resulting motion profiles.