In matlab write the code to make a ball bounce back and
forth between to walls. The ball bounces in the form of cos2 (?)
where θ goes from 0˚ to 360˚ with a length of 1000. The max height the ball
bounces 28 inches from its center. The distance between the two walls is 30
inches. The radius of the ball is 1 inch. The ball will bounce back and forth
20 times
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |