Question
Scenario: A ball is dropped vertically onto a ramp, bouncing down the ramp. Assume the collision is perfectly elastic. Question: Construct a program in Python
Scenario: A ball is dropped vertically onto a ramp, bouncing down the ramp. Assume the collision is perfectly elastic.
Question: Construct a program in Python or Matlab that will calculate how many times the ball bounces on the ramp before hitting the ground. The following should be adjustable parameters of the program: ramp incline angle, ramp length, and drop height (height above ramp surface). You may take any approach and/or use any libraries/functions to build the program, but the code must be commented to receive full credit.
Note: the incident angle after each bounce changes; it doesn't stay the same!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started