In matlab write the code to make a ball bounce back and forth between to walls.

engineering

Description

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


Related Questions in engineering category