Chapter 4: Problem 30
A ball is falling vertically through air over a vibrating surface. The position of the surface is \(x_{w}(t)=A \cos \omega t\), where \(A=1 \mathrm{~cm}\) and \(\omega\) is called the angular frequency of the vibrations. The ball starts from a position \(x=10 \mathrm{~cm}\) at \(t=0 \mathrm{~s}\). The acceleration of the ball is given as: $$ a(x, v, t)=\left\\{\begin{array}{cl} -g & x>x_{w} \\ -g-C\left(x-x_{w}\right) & x \leq x_{w} \end{array} .\right. $$ where \(g=9.81 \mathrm{~m} / \mathrm{s}^{2}\) and \(C=10000.0 \mathrm{~s}^{-2}\). (a) Write down the equation you need to solve to find the motion of the ball. Include initial conditions for the ball. (b) Write down the algorithm to find the position and velocity at \(t_{i+1}=t_{i}+\Delta t\) given the position and velocity at \(t_{i}\). Use Euler-Cromer's scheme. (c) Write a program to find the position and velocity of the ball as a function of time. (d) Check your program by comparing the initial motion of the ball with the exact solution when the acceleration is constant. Plot the results. (e) Check your program by first studing the behavior when the vibrating surface is stationary, that is, when \(A=0 \mathrm{~m}\) and \(x_{w}=0 \mathrm{~m}\). Plot the resulting behavior. Ensure that your timestep is small enough, \(\Delta t=10^{-5} \mathrm{~s}\). What happens if you increase the timestep to \(\Delta t=0.02 \mathrm{~s}\) ? (f) Finally, use your program to model the motion of the ball when the surface is vibrating. Use \(A=0.01 \mathrm{~m}, \omega=10 \mathrm{~s}^{-1}\), and simulate \(5 \mathrm{~s}\) of motion. Plot the results. What is happening? (g) What happens if you increase the vibrational frequency to \(\omega=30 \mathrm{~s}^{-1}\) ? Plot the results. Can you explain the difference from \(\omega=10 \mathrm{~s}^{-1}\) ?
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.