Mechanics
Mathematica Documentation
Mathematica Source Code
Page 2



(Hammer.ma)

The force imparted by a hammer to a steel bar is given by 50 N (1 - (t/to)^3) , where t runs from 0 to to. [The force is assumed to have suddenly reached 50 N as the hammer initially struck the bar.] Take to=20 ms and determine the impulse graphically which is associated with the collision, and also use maple or mathematica to find the impulse.


(Jim&phil.ma)

Jim throws a baseball at an angle theta1 with a speed v1. Phil, who is standing in the vertical plane of motion, also throws a baseball in the same forward direction at an angle theta2 with a speed v2. Phil throws his ball at the exact moment Jim's ball is directly overhead. At that moment, Phil notices that Jim's ball is neither rising nor falling, being at its maximum height.
a) With what speed (as a function of the intial launch angles and v1) must Phil's ball be thrown to collide with Jim's?
b) Determine where the collision takes place.
c) After the first ball is thrown, how long does it take the two balls to collide? Assume Jim and Phil are at the same height on a level field.


(Launch.ma)

A ball is launched with an initial velocity of 130 m/s at ground level. It strikes a wall 150 m away, at a height of 10m.
a) Find the parametric equations y(t) and x(t) in terms of t and launch angle theta.
b) Find the launch angle and time of flight. [Note: There are two solutions.]
c) Determine the path y(x) from the parametric equations.
d) Do a 'parametric plot' of x(t) and y(t). Plot y(x) and compare to the parametric plot.


(Massinc.ma)

Mass M is released from rest as shown in the figure and moves down the plane.
a) Assuming no friction anywhere in the system, how far down the incline will M move before coming momentarily to rest? [This can be done just using conservation of energy.]
b) Write down Newton's second law for the mass M on the incline.
c) Solve this equation using 'dsolve' for the general equation of displacement of the mass vs. time.
For parts d) and e), let M=2.5 kg, k=175 N/m, and g=9.8 m/s^2.
d) Plot the displacement vs time for theta = 30 degrees.
e) Plot the displacement vs. time for various angles values of theta from 0 to 90 degrees in increments of 15 degrees. [Hint: A loop would be helpful.]


(Massinfr.ma)

This is the previous problem (MASSINC.MA) with static and kinetic friction coefficients given, and with the same static and kinetic coefficients.


(Mspring.ma)

A mass M hangs from the ceiling by a massless spring of constant k and unstretched length Lo. The length of the spring as a function of time is h(t), and the extension of the spring is h(t) - Lo.
a) Show that when the mass is hanging at rest, the spring length is Lo +Mg/k. The mass is thus at a distance from the ceiling of h(0) = Lo + Mg/k. This is the 'equilibrium' position of the mass. When the mass is moving, h(t) = Lo + Mg/k +x(t), where x(t) is the distance from the equilibrium position.
b) Let M = 1.55 kg, k = 350 N/m, and Lo = 0.37 m, and let the mass be released at t=0 when the spring is unstretched. (Note that x(t) will be negative when this happens.) Solve Newton's second law applied to the mass M (using dsolve, or a Runge-Kutta integration) and plot the motion of the mass.
c) Compare the frequency of the motion to the theoretical value of (k/M)^(1/2) / (2 pi). (You should also be able to notice that the amplitude of the motion is Mg/k.)


(Rodgrav.ma)

A very narrow rod has length L = 0.09 m, and mass M = 1.75 kg. Determine the total gravitational force that this rod exerts on a tiny sphere of mass m = 0.01 kg, located at a distance h = 0.55 m from the center of the rod along a perpendicular bisector. Do this by finding the force exerted on the sphere by a small segment of the rod Dx = 0.01 m, and then adding all forces from small segments to get the total force.



Page 1 of Mathematica Mechanics Problems
Page 3 of Mathematica Mechanics Problems
Page 4 of Mathematica Mechanics Problems