Engineering Computations Module 3: Fly at change in systems [article]

Lorena A. Barba, Natalia C. Clementi
2017 Figshare  
Engineering Computations—Original material written as Jupyter Notebooks for an undergraduate engineering course, Fall 2017Module 3: Fly at change in systemsAfter the two foundation course modules, equipping you with the coding patterns for numerical computing, this module is our launching pad to investigate change, motion, and dynamics, using computational thinking.Lesson 1: Catch things in motionWorking with images and videos in Python using imageio. Interactive Matplotlib figures in the
more » ... igures in the notebook, and capturing mouse clicks on images for digitizing an object's position. Computing velocity and acceleration from position captures: a falling ball, and projectile motion. Computing numerical derivatives using differences. Free-fall acceleration from real data.Lesson 2: Step to the futureComputing velocity and position from accelerometer data: a roller-coaster ride. Using the subplot() function go draw more than one plot in the same figure. Euler's method for initial-value problems, and Taylor expansion showing first-order accuracy. The second-order differential model for an object in free fall written as two first-order differential equations, leading to a vector form. General design of a code to solve ordinary differential equations (ODEs). Application to free fall of a tennis ball and comparison with experimental data. Improved model accounting for air resistance.Lesson 3: Get with the oscillationsDifferential model of a spring-mass system without friction: state vector and system in vector form. Amplitude growth with Euler's method on oscillatory systems, and the fix: Euler-Cromer method (semi-implicit Euler). Numerically observed order of accuracy using a convergence plot: numerical error with different time increments, ∆t. Modified Euler's method, and observed order of accuracy.Lesson 4: Bird's-eye view of mechanical vibrationsGeneral spring-mass systems with damping and a driving force, revealing a variety of behaviors. [...]
doi:10.6084/m9.figshare.5673526.v1 fatcat:yigj4tm3sna43leyprlhcdfcje