You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be no need for the dx += accel line as the line above already accounts for the speed change in the quadratic accel term. In other words, the displacement x = x0 + v0 * t + 1/2 * a * t**2.
The text was updated successfully, but these errors were encountered:
First of all, thanks for the wonderful book, and I am enjoying every line of your witty and clear writing.
In session
Exercise: The Effect of Acceleration
, there seems to be a mistake in the formulation of the equation.In
gen_data
function,There should be no need for the
dx += accel
line as the line above already accounts for the speed change in the quadratic accel term. In other words, the displacement x = x0 + v0 * t + 1/2 * a * t**2.The text was updated successfully, but these errors were encountered: