Python Forum
Ball bouncing down a ramp
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ball bouncing down a ramp
#1
Hello, this is a homework assignment and I just dont understand much about python. If anyone can help get me in the right direction that would help a lot. How would I program a ball to bounce down a ramp and to be able to input the ramps height and length, while also calculating the amount of times the ball bounces on the ramp.
Reply
#2
What have you tried? We're not big on writing code for people here, but we would be happy to help you fix your code when you run into problems. When you do run into problems, please post your code in Python tags, and clearly explain the problem you are having, including the full text of any errors.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
Read this and use it: http://www.petercollingridge.co.uk/tutor...imulation/
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Numerically determining the highest a ball travels when shot straight up JakeWitten 3 3,379 Apr-22-2017, 04:37 PM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020