Answer:
#here is code in python.
#main method
def main():
#read the initial position
 in_pos=float(input("enter the initial position:"))
#read the initial velocity
 in_vel=float(input("enter the initial velocity:"))
#read the acceleration
 acc=float(input("enter the acceleration:"))
#read time
 time=float(input("enter the time:"))
# final position =x+ut+(at^2)/2
 fin_pos=in_pos+(in_vel*time)+(acc*(time**2)/2)
#print the final position
 print("final position is: ",fin_pos)
 
#call the main method 
main()
Step-by-step explanation:
Read the initial position, initial velocity, acceleration and time from user.Then calculate final position as initial position+(initial velocity*time)+ (acceleration*time^2)/2. This equation will give the final position. print the final position.
Output:
enter the initial position:10
enter the initial velocity:20.5
enter the acceleration:5
enter the time:15
final position is: 880.0