11.07.2015 Views

Principles of Linear Algebra With Mathematica® Rolling an Ellipse ...

Principles of Linear Algebra With Mathematica® Rolling an Ellipse ...

Principles of Linear Algebra With Mathematica® Rolling an Ellipse ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Chapter 1. <strong>Rolling</strong> <strong>an</strong> <strong>Ellipse</strong> Along a Curvea horizontal line, our line must have the equationy = y c − b (1.2)To perform actual calculations, we must choose values for the center (x c , y c )<strong>an</strong>d lengths <strong>of</strong> axes, a <strong>an</strong>d b, however it should be apparent throughout thefollowing calculations that nothing depends on these values. We will chooseour center to be at (2, 4), with a = 4 <strong>an</strong>d b = 2. Thus our horizontal line, givenin equation (1.2), is y = 4 − 2 = 2. We will have Mathematica graph our initialsetup now.xc = 2; yc = 4;a = 4; b = 2;<strong>Ellipse</strong>F[t ] = {xc + a Cos[t], yc + b Sin[t]};<strong>Ellipse</strong>Plot = ParametricPlot[<strong>Ellipse</strong>F[t], {t, 0, 2π}, PlotStyle→{Thickness[0.007], Red}];LinePlot = Graphics[{Thickness[0.005], Pink, Line[{{−10, 2}, {20,2}}]}];CenterPlot = Graphics[{PointSize[0.015], Black, Point[{{xc, yc}}]}];Show[<strong>Ellipse</strong>Plot, CenterPlot, LinePlot, AxesOrigin→{0, 0}, Plot-R<strong>an</strong>ge→{{−10, 20}, {0, 10}}]10y510 10 20xFigure 1.1: The original ellipse <strong>an</strong>d the horizontal line it will roll along.As you c<strong>an</strong> see from Figure 1.1, the ellipse rests on the horizontal line thatit will roll along. So we have now set up our problem.1.2 The First StepFor the next step in the process, we simply wish to roll our ellipse a fixeddist<strong>an</strong>ce, r, to the right. If we wish to roll the ellipse r units in the x-direction,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!