Search for question
Question

Problem 8.4 The governing equation for kinetic energy is 1 3) KE 2 =mv² Write a function to calculate the kinetic energy of the ball. The body of this funciton should include a call to the velocity funciton that you defined in Problem 8.1 where g was considered constant. Input arguments for the function should be m, vo, and t. The kinetic energy, KE, should be returned. Use your defined function to calculate the value of KE for each of the rows in the below table. vo[m/s] t[s] | m[kg] |KE[J] 2 2 0.1 15.52 4.2 0.3 2.5 100 3 8.0 10 (8) 0 Python Go Live/nProblem 8.3 The function in Problem 8.1 only uses the standard Earth acceleration of gravity of 9.81m/s² and did not need to be provided as an argument. Make a different version of the function that includes gravity as an argument with a default value of 9.81. Do not modify the previous function, make a new function with a new name. Python + Code + Markdown Use your defined function to calculate the value of vy for each of the rows in the below table. Where the entry for g is not specified, let it be covered by the default value of the function and do not provide it yourself as an argument. vo[m/s] t[s] g[m/s²] | vy[m/s] 2 2 4.2 0.3 4.2 0.3 3.72 100 3 24.79 ΟΛΟ (A) 0 -17.62 Go Live D/nProblem 8.2 Write a function that calculates the vertical position of the ball at a given time. Input arguments to the function should be vo, yo, and t. The current positio should be returned. Use your defined function to calculate the value of y for each of the rows in the below table. vo [m/s] yo[m] ts ym 12 3 2 7.38 4.2 0 0.3 100 10 3 Pyt/nProblem 8.1 Write a function that calculates the velocity of the ball at a given time. Input arguments to the function should be vo and t. The current velocity, vy, should be returned. # Define function here [2] Python Now use your defined function to calculate the value of vy for each of the rows in the below table. The answer to the first row is provided so that you can test that your function is working properly. You will still need to print your result for the first row. vo[m/s] t[s] vy[m/s] 2 2 -17.62 4.2 0.3 100 3 ✓ ✓ # Print Results here [31 ((8) Discovering Python Interpreters Python Go Live

Fig: 1

Fig: 2

Fig: 3

Fig: 4