38
Time Domain Spirograph Since Motors will be relatively close (<5cm), propogation time can be neglected In[7002]:= In[7003]:= In[7004]:= Φstep = 2 Π 100; ratios = Table@1 If@j 0, j, 1D, 8j, - 5, 5, .1<D; ratios motor1RPM = 1800; motor2RPM =- 1500; motor3RPM = 1800; Θ1deg = 2; Θ2deg = 2; Θ3deg = 2; maxTime = 1; Out[7006]= 8- 0.2, - 0.204082, - 0.208333, - 0.212766, - 0.217391, - 0.222222, - 0.227273, - 0.232558, - 0.238095, - 0.243902, - 0.25, - 0.25641, - 0.263158, - 0.27027, - 0.277778, - 0.285714, - 0.294118, - 0.30303, - 0.3125, - 0.322581, - 0.333333, - 0.344828, - 0.357143, - 0.37037, - 0.384615, - 0.4, - 0.416667, - 0.434783, - 0.454545, - 0.47619, - 0.5, - 0.526316, - 0.555556, - 0.588235, - 0.625, - 0.666667, - 0.714286, - 0.769231, - 0.833333, - 0.909091, - 1., - 1.11111, - 1.25, - 1.42857, - 1.66667, - 2., - 2.5, - 3.33333, - 5., - 10., 1, 10., 5., 3.33333, 2.5, 2., 1.66667, 1.42857, 1.25, 1.11111, 1., 0.909091, 0.833333, 0.769231, 0.714286, 0.666667, 0.625, 0.588235, 0.555556, 0.526316, 0.5, 0.47619, 0.454545, 0.434783, 0.416667, 0.4, 0.384615, 0.37037, 0.357143, 0.344828, 0.333333, 0.322581, 0.3125, 0.30303, 0.294118, 0.285714, 0.277778, 0.27027, 0.263158, 0.25641, 0.25, 0.243902, 0.238095, 0.232558, 0.227273, 0.222222, 0.217391, 0.212766, 0.208333, 0.204082, 0.2< In[7014]:= Length@ratiosD Out[7014]= 101 In[7015]:= Length@ratiosD Out[7015]= 101 Printed by Wolfram Mathematica Student Edition

Spirograph Images

Embed Size (px)

Citation preview

Page 1: Spirograph Images

Time Domain Spirograph

Since Motors will be relatively close (<5cm), propogation time can be neglected

In[7002]:=

In[7003]:=

In[7004]:= Φstep = 2 Π � 100;

ratios = Table@1 � If@j ¹ 0, j, 1D, 8j, -5, 5, .1<D;

ratios

motor1RPM = 1800;

motor2RPM = -1500;

motor3RPM = 1800;

Θ1deg = 2;

Θ2deg = 2;

Θ3deg = 2;

maxTime = 1;

Out[7006]= 8-0.2, -0.204082, -0.208333, -0.212766, -0.217391, -0.222222, -0.227273, -0.232558,

-0.238095, -0.243902, -0.25, -0.25641, -0.263158, -0.27027, -0.277778, -0.285714,

-0.294118, -0.30303, -0.3125, -0.322581, -0.333333, -0.344828, -0.357143,

-0.37037, -0.384615, -0.4, -0.416667, -0.434783, -0.454545, -0.47619, -0.5,

-0.526316, -0.555556, -0.588235, -0.625, -0.666667, -0.714286, -0.769231,

-0.833333, -0.909091, -1., -1.11111, -1.25, -1.42857, -1.66667, -2., -2.5,

-3.33333, -5., -10., 1, 10., 5., 3.33333, 2.5, 2., 1.66667, 1.42857, 1.25,

1.11111, 1., 0.909091, 0.833333, 0.769231, 0.714286, 0.666667, 0.625, 0.588235,

0.555556, 0.526316, 0.5, 0.47619, 0.454545, 0.434783, 0.416667, 0.4, 0.384615,

0.37037, 0.357143, 0.344828, 0.333333, 0.322581, 0.3125, 0.30303, 0.294118,

0.285714, 0.277778, 0.27027, 0.263158, 0.25641, 0.25, 0.243902, 0.238095,

0.232558, 0.227273, 0.222222, 0.217391, 0.212766, 0.208333, 0.204082, 0.2<

In[7014]:= Length@ratiosDOut[7014]= 101

In[7015]:= Length@ratiosDOut[7015]= 101

Printed by Wolfram Mathematica Student Edition

Page 2: Spirograph Images

In[7016]:=

Θ1 = Θ1deg * Π � 180;

Θ2 = Θ2deg * Π � 180;

Θ3 = Θ3deg * Π � 180;

Γdeg = 180;

Γ = Γdeg * Π � 180;

xHat = 81, 0, 0<;

origin = 80, 0, 0<;

normalM1@Θ_, Φ_D := 8Cos@ΘD, Sin@ΦD Sin@ΘD, Cos@ΦD Sin@ΘD<;

normalM2@Θ_, Φ_D := 8-Cos@ΘD, Sin@ΦD Sin@ΘD, Cos@ΦD Sin@ΘD<;

normalM3@Θ_, Φ_D := 8Cos@ΘD, Sin@ΦD Sin@ΘD, Cos@ΦD Sin@ΘD<;

CrossMatM1@Θ_, Φ_D := 880, -normalM1@Θ, ΦD@@3DD, normalM1@Θ, ΦD@@2DD<,

8normalM1@Θ, ΦD@@3DD, 0, -normalM1@Θ, ΦD@@1DD<,

8-normalM1@Θ, ΦD@@2DD, normalM1@Θ, ΦD@@1DD, 0<<;

CrossMatM2@Θ_, Φ_D := 880, -normalM2@Θ, ΦD@@3DD, normalM2@Θ, ΦD@@2DD<,

8normalM2@Θ, ΦD@@3DD, 0, -normalM2@Θ, ΦD@@1DD<,

8-normalM2@Θ, ΦD@@2DD, normalM2@Θ, ΦD@@1DD, 0<<;

CrossMatM3@Θ_, Φ_D := 880, -normalM3@Θ, ΦD@@3DD, normalM3@Θ, ΦD@@2DD<,

8normalM3@Θ, ΦD@@3DD, 0, -normalM3@Θ, ΦD@@1DD<,

8-normalM3@Θ, ΦD@@2DD, normalM3@Θ, ΦD@@1DD, 0<<;

RotM1@Θ_, Φ_, Γ_D := IdentityMatrix@3D * Cos@ΓD + Sin@ΓD CrossMatM1@Θ, ΦD +

H1 - Cos@ΓDL TensorProduct@normalM1@Θ, ΦD, normalM1@Θ, ΦDD;

RotM2@Θ_, Φ_, Γ_D := IdentityMatrix@3D * Cos@ΓD + Sin@ΓD CrossMatM2@Θ, ΦD +

H1 - Cos@ΓDL TensorProduct@normalM2@Θ, ΦD, normalM2@Θ, ΦDD;

RotM3@Θ_, Φ_, Γ_D := IdentityMatrix@3D * Cos@ΓD + Sin@ΓD CrossMatM3@Θ, ΦD +

H1 - Cos@ΓDL TensorProduct@normalM3@Θ, ΦD, normalM3@Θ, ΦDD;

incident = :- 3 � 2, 1 � 2, 0>;

motor1Rads = 2 Π motor1RPM � 60;

motor2Rads = 2 Π motor2RPM � 60;

motor3Rads = 2 Π motor3RPM � 60;

Φ2@Φ_D := motor2RadsΦ

motor1Rads

;

Φ3@Φ_D := motor3RadsΦ

motor1Rads

;

mirrorXSep = 0.025;

mirrorYSep = 0.025;

mirrorRadius = .012;

projectionDist = 1;

ΦProg = Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

m2Plot = Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

m3Plot = Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

projectionPlot = Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

m2IncidentPlot = Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

m3IncidentPlot = Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

projectionIncidentPlot =

Table@j, 8j, 0, maxTime + Φstep � motor1Rads, Φstep � motor1Rads<D;

2 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 3: Spirograph Images

In[7049]:= DoB:

Φ2@Φ_D := motor1Rads * ratios@@kDDΦ

motor1Rads

,

t = 0;

Φ1 = 0;

runs = 0;

WhileBt £ maxTime,

:reflectionM1 = -RotM1@Θ1, Φ1, ΓD.incident,

m2IncidentPos = reflectionM1 * mirrorXSep � Abs@reflectionM1@@1DDD,

reflectionM2 = -RotM2@Θ2, Φ2@Φ1D, ΓD.reflectionM1,

m3IncidentPos = m2IncidentPos +

mirrorXSep

Abs@reflectionM2@@1DDD* reflectionM2,

m3IncidentPlot@@Φ1 � Φstep + 1DD = 8m3IncidentPos@@2DD, m3IncidentPos@@3DD<,

H*reflectionM3=-RotM3@Θ3,Φ3@Φ1D,ΓD.reflectionM2,

projectedPos=m3IncidentPos+projectionDist

Abs@reflectionM3@@1DDD *reflectionM3,

m2Plot@@Φ1�Φstep+1DD=m2IncidentPos,

m3Plot@@Φ1�Φstep+1DD=m3IncidentPos,

projectionPlot@@Φ1�Φstep+1DD=projectedPos,

m2IncidentPlot@@Φ1�Φstep+1DD=8m2IncidentPos@@2DD,m2IncidentPos@@3DD<,

projectionIncidentPlot@@Φ1�Φstep+1DD=

8projectedPos@@2DD,projectedPos@@3DD<,*L

t =

Φ1

motor1Rads

,

runs += 1;

Φ1 += Φstep>

F,

ListLinePlot@m3IncidentPlot, PlotLabel ® ratios@@kDDD �� Print>,

8k, 1, Length@ratiosD<F

Untitled-3 3

Printed by Wolfram Mathematica Student Edition

Page 4: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.2

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.204082

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.208333

4 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 5: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.212766

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.217391

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.222222

Untitled-3 5

Printed by Wolfram Mathematica Student Edition

Page 6: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.227273

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.232558

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.238095

6 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 7: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.243902

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.25

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.25641

Untitled-3 7

Printed by Wolfram Mathematica Student Edition

Page 8: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.263158

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.27027

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.277778

8 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 9: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.285714

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.294118

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.30303

Untitled-3 9

Printed by Wolfram Mathematica Student Edition

Page 10: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.3125

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.322581

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.333333

10 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 11: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.344828

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.357143

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.37037

Untitled-3 11

Printed by Wolfram Mathematica Student Edition

Page 12: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.384615

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.4

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.416667

12 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 13: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.434783

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.454545

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.47619

Untitled-3 13

Printed by Wolfram Mathematica Student Edition

Page 14: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034

-0.002

0.002

0.004

-0.5

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.526316

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.555556

14 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 15: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.588235

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.625

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.666667

Untitled-3 15

Printed by Wolfram Mathematica Student Edition

Page 16: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.714286

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.769231

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.833333

16 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 17: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-0.909091

0.027 0.028 0.029 0.030 0.031

-0.004

-0.002

0.002

0.004

-1.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-1.11111

Untitled-3 17

Printed by Wolfram Mathematica Student Edition

Page 18: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-1.25

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-1.42857

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-1.66667

18 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 19: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034

-0.002

0.002

0.004

-2.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-2.5

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-3.33333

Untitled-3 19

Printed by Wolfram Mathematica Student Edition

Page 20: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034

-0.004

-0.002

0.002

0.004

-5.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

-10.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

1

20 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 21: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

10.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

5.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

3.33333

Untitled-3 21

Printed by Wolfram Mathematica Student Edition

Page 22: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

2.5

0.024 0.026 0.028 0.030 0.032 0.034

-0.002

0.002

0.004

2.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

1.66667

22 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 23: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

1.42857

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

1.25

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

1.11111

Untitled-3 23

Printed by Wolfram Mathematica Student Edition

Page 24: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

1.

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.909091

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.833333

24 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 25: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.769231

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.714286

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.666667

Untitled-3 25

Printed by Wolfram Mathematica Student Edition

Page 26: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.625

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.588235

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.555556

26 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 27: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.526316

0.024 0.026 0.028 0.030 0.032 0.034

-0.002

0.002

0.004

0.5

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.47619

Untitled-3 27

Printed by Wolfram Mathematica Student Edition

Page 28: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.454545

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.434783

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.416667

28 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 29: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.4

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.384615

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.37037

Untitled-3 29

Printed by Wolfram Mathematica Student Edition

Page 30: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.357143

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.344828

0.024 0.026 0.028 0.030 0.032 0.034

-0.004

-0.002

0.002

0.004

0.333333

30 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 31: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.322581

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.3125

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.30303

Untitled-3 31

Printed by Wolfram Mathematica Student Edition

Page 32: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.294118

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.285714

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.277778

32 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 33: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.27027

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.263158

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.25641

Untitled-3 33

Printed by Wolfram Mathematica Student Edition

Page 34: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.25

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.243902

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.238095

34 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 35: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.232558

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.227273

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.222222

Untitled-3 35

Printed by Wolfram Mathematica Student Edition

Page 36: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.217391

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.212766

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.208333

36 Untitled-3

Printed by Wolfram Mathematica Student Edition

Page 37: Spirograph Images

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.204082

0.024 0.026 0.028 0.030 0.032 0.034 0.036

-0.004

-0.002

0.002

0.004

0.2

In[7050]:=

Untitled-3 37

Printed by Wolfram Mathematica Student Edition

Page 38: Spirograph Images

In[7051]:=

H*Animate@Graphics3D@8

[email protected]@Θ1,ΦProg@@jDDD,80,0,0<<,.012D,

Cylinder@88mirrorXSep,mirrorYSep,0<-.005normalM2@Θ2,Φ2@ΦProg@@jDDDD,

8mirrorXSep,mirrorYSep,0<<,.012D,

Cylinder@880,2mirrorYSep,0<-.005normalM3@Θ3,Φ3@ΦProg@@jDDDD,

80,2mirrorYSep,0<<,.012D,

Line@8origin,.01normalM1@Θ1,ΦProg@@jDDD<D,

Line@88mirrorXSep,mirrorYSep,0<,

8mirrorXSep,mirrorYSep,0<+.01normalM2@Θ2,Φ2@ΦProg@@jDDDD<D,

Line@880,2mirrorYSep,0<,80,2mirrorYSep,0<+.01normalM3@Θ3,Φ3@ΦProg@@jDDDD<D,

8Green,

[email protected]�Abs@incident@@1DDDincident,origin<D,

Line@8origin,m2Plot@@jDD<D,

Line@8m2Plot@@jDD,m3Plot@@jDD<D<

<

<,PlotRange®88-.03,.1<,8-.02,.17<,8-.03,.03<<D,8j,1,Length@m3PlotD,1<,AnimationRunning®FalseD

*L

38 Untitled-3

Printed by Wolfram Mathematica Student Edition