def ball_speed(L, M, h): g = 9,8 # akselerasi alatan gravitasi I = (1/3) * M * L**2 # moment of inertia angular_speed = (2 * g * h) / L # angular velocity of the axis linear_speed = L * angular_speed # linear velocity of the ball speed = linear_speed # speed of the ball return speed
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence