Driving a zigzag path (Lego Dance): Difference between revisions
From wikiluntti
(Created page with "== Introduction == == Theory == Use loop and the properties of exponentation: <math>(-1)^0 = 1</math> <math>(-1)^1 = -1</math> <math>(-1)^2 = (-1)(-1) = 1</math> <math>(-1)^4 = (-1)(-1)(-1) = -1</math> <youtube>xdY5dqr-MPY</youtube> == Exercises ==") |
(→Theory) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
[[File:Gyro4 suunnitelma.png|thumb|The plan and planned route]] | |||
Use gyroscope to drive a zigzag path | |||
== Theory == | == Theory == | ||
[[File:Gyro4 koodi.png|thumb|The code]] | |||
Use loop and the properties of exponentation: | Use loop and the properties of exponentation: | ||
Line 10: | Line 16: | ||
<math>(-1)^2 = (-1)(-1) = 1</math> | <math>(-1)^2 = (-1)(-1) = 1</math> | ||
<math>(-1)^ | <math>(-1)^3 = (-1)(-1)(-1) = -1</math> | ||
<youtube>xdY5dqr-MPY</youtube> | <youtube>xdY5dqr-MPY</youtube> | ||
== Exercises == | == Exercises == |