Advertisement
cookertron

Starting Velocity using Height and Gravity

Feb 21st, 2023
847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | Source Code | 0 0
  1. import math
  2.  
  3. def jump_velocity(height, gravity):
  4.     velocity = math.sqrt(2 * gravity * height)
  5.     return velocity
  6.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement