Question: See Canvas for more information. Write a program named still _ more _ linear _ interpolation.py that takes as input the time and location of

See Canvas for more information. Write a program named still_more_linear_interpolation.py that takes as input the time and location of a moving object at two points, then using linear interpolation calculates the position at several intermediate times. Your program needs to prompt the user to enter the time and position at two points, calculate the times and positions for five evenly spaced points, and print the results using nice formatting. Display the times using two (2) decimal places and the positions using three (3) decimal places.
Before writing your program: Its good practice to think before you code. Follow the steps below.
Make a list of the variables that you will use in this program. Be sure to include:
The variable names
The type of each variable (data type)
A very brief description of what each variable is (you can write one description for multiple variables if it is clear what they all are)
Write a brief description of the calculations your program will perform, including a sample calculation done by hand.
Finally, write your code. Remember to test you code to make certain it works properly.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!