
Patrick B. answered 04/27/21
Math and computer tutor/teacher
#online interpreter does not have file I/O capabilities
tValues = [0.15592, 0.28075, 0.36807889, 0.35, 0.57681501876, 0.21342619, 0.0519085, 0.042, 0.27, 0.50620017, 0.528, 0.2094294, 0.1117, 0.53012, 0.3729850, 0.39325246, 0.21385894, 0.3464815, 0.57982969, 0.10262264, 0.29584013, 0.17383923]
tValues.sort()
v0 = 3.0
g = 9.8
N = len(tValues)
print(" t y ")
for i in range(N):
t = tValues[i]
y = float(v0)*float(t) + float(g)*float(t)/2
print(str(t) + " " + str(y))
Newtum S.
Thank you for sharing your valuable answer.03/15/23