Q-2. Develop a script to produce an animation of a bouncing ball V = 2.5 m/s and O = 50. To do this, you must be able to predict exactly when the ball hits the ground. At this point, the direction changes (the new angle will equal the negative of the angle at impact, and the velocity will decrease in magnitude to reflect energy loss due to the collision of the ball with the ground. The change in velocity can be quantified by the coefficient of restitution Cr, which is equal to the velocity after the velocity before impact. For the present case, use a value of Cr = 0.75. (20 points)
Q-3. The temperature dependence of chemical reactions can be computed with the Arrhenius equation: k = Ae^(RTa), where k = reaction rates - 1, A = the preexponential (or frequency factor), E = activation energy (J/mol), R = gas constant (8.314 J/mole.K), and T = absolute temperature (K). A compound has E = 1X10^J/mol and A = 7X10^16. Use MATLAB to generate values of reaction rates for temperatures ranging from 253 to 325 K. Use subplot to generate a side-by-side graph of a) k versus r (green line) and b) log10 k (red line) versus 1/Ta. Employ the semilogy function to create (b). Include axis labels and titles for both subplots. Interpret your results. (15 points)