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 stillmorelinearinterpolation.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 decimal places and the positions using three 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
