Question: This programming assignment begins with the program you wrote for the Object Position Calculation assignment and incorporates additional requirements. Here are the requirements from the


This programming assignment begins with the program you wrote for the Object Position Calculation assignment and incorporates additional requirements. Here are the requirements from the first programming assignment: The final position, T f, of an object that has an initial position o, an initial velocity vo, and an acceleration of a after a time t has passed is given by the formula: Write a python program called "objectposncalc.py" that accepts user input from the keyboard for the initial position, initial velocity, acceleration, and time that has passed and outputs the final position based on the above equation. Here are the additional requirements for this programming assignment: User input may not cause the program to crash. Exceptions from invalid user input must be handled gracefully. The user is to be given feedback about invalid input and given the opportunity to supply the input without needing to run the program again. Negative elapsed times are not to be accepted from the user. If a negative time is provided the user is to be given feedback and asked again for the time. Other inputs are to be allowed to be negative, zero, or positive. Only elapsed times are to be restricted to O and positive values. After each calculation the user is to be prompted if they want to perform another calculation. If they answer witha "y" then they are to be prompted for new input and another calculation is to be performed. If they provide any other response the program is to exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
