Download Computational Mechanics featuring Matlab
Transcript
8.9. POSSIBLE PROJECTS FOR PHYSICS 241 169 *** (1) Lunar Lander: Matlab has sufficient tools that you can make a simple game out of landing a space ship on the moon. Your graphics will be boring, but you can land a dot on a rough surface using the arrow keys to control the direction and thrust of maneuvering jets. Note, you will have to create a matlab “timer” object to allow the real-time control of your plot that you need. You will also need to learn about figure callbacks. This is an advanced project, but quite rewarding. * (2) Bouncing Ball: Animate a bouncing ball, then give is a small horizontal velocity,then give it a coefficient of restitution so it loses energy on each bounce. You can take it further, model the interaction between ball and surface and compression of the ball, or measure the frequency vs. time as the ball loses energy. * (3) Collisions in 1 and 2D: You can simulate hard-sphere collisions for arbitrary off angles (impact parameters) and arbitrary masses. * (4) Tides: A little reflection on tidal forces can allow you to predict the timing and strength of tides. Much can be done here without the need for programming, but as your model gets more sophisticated you can generate a tide chart for any location and time period on Earth. You can compare your results with published tide charts. You can get quite close to reality with a simple model. ** (5) Circular Motion Simulator: Take a data set of arbitrary angle vs. time data and illustrate with animation the orientation of position, velocity, and acceleration vectors for circular motion. Start with uniform circular motion but be capable of handling circular motion at varying speeds. * (6) Orrery: An orrery is a scale model of a solar system (or part of it). You know enough to do a full model of the solar system. You can predict the motions, periods, velocities and eccentricities of all the planets based solely on initial conditions. Check your model against published solar system data and compare the results. ** (7) Gravity Assist: Have a planet orbitting the sun and a spaceship encountering the planet. See how it can acquire additional speed by stealing some energy from the planet ** (8) Nonlinear oscillator: Use RK4 to model a 1-Dimensional oscillator. After that works, add non-linear terms. Do a fourier transform and observe second harmonic generation for different non-linear terms. Animate. (9) Restricted three body problem: Analyze motion of three bodies subject only to mutual gravitation. Confine all three bodies to a single plane (this makes it restricted.) This problem is so rich that I have broken it into several projects. Each one is complete by itself. Just pick one not all. ** (9a) Lagrange points: These are points of stable equilibrium for three bodies. Simulate a Lagrange system and study oscillations about Lagrange