This project is to write two polynomial functions.
The polynomials will be used to define a motion trajectory on an x-y plane.
The polynomials are similar but have different orders.
The inputs of the first polynomial are:
1. Start Time
2. Start Displacement
3. Start Velocity
4. Start Acceleration
5. Start Jerk
6. End Time
7. End Displacement
8. End Velocity
9. End Acceleration
10. End Jerk
11. Time (between Start Time and End Time)
The returns are:
1. Displacement
2. Velocity
3. Acceleration
4. Jerk
5. Snap
The inputs of the second polynomial are:
1. Start Time
2. Start Displacement
3. Start Velocity
4. Start Acceleration
5. Start Jerk
6. Start Snap
7. End Time
8. End Displacement
9. End Velocity
10. End Acceleration
11. End Jerk
12. End Snap
13. Time (between Start Time and End Time)
The returns are:
1. Displacement
2. Velocity
3. Acceleration
4. Jerk
5. Snap