From the course: Mathematica 11 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Animate the results of an expression

Animate the results of an expression - Mathematica Tutorial

From the course: Mathematica 11 Essential Training

Start my 1-month free trial

Animate the results of an expression

- [Instructor] If you work in a scientific or engineering environment, you might use an equation to model a process. Some of the most common models for engineering include spring systems, which calculate how a spring oscillates given constraints such as friction or periodic outside inputs. In this movie I'll show you how to animate the results of an expression as that expression changes over time. I'm working in a blank Mathematica notebook, so I can go ahead and create my animation. As you might expect, the keyword used to animate an expression in Mathematica is Animate. After you type that keyword, which I will here, you type a left square bracket and enter in what you want to animate. In this case I will create a plot that displays a cosine, so I'll type Plot, P-L-O-T, followed by a square bracket, then the keyword or symbol Cos, that's capital C, O-S, short for cosine, left square bracket, x plus n, and then a right square bracket. So that's what I'll be visualizing, the cosine of…

Contents