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 ==")
 
Line 2: Line 2:


== Theory ==
== Theory ==
[[File:Gyro4 koodi.png|thumb|The code]]


Use loop and the properties of exponentation:
Use loop and the properties of exponentation:

Revision as of 22:01, 13 January 2022

Introduction

Theory

The code

Use loop and the properties of exponentation:

Exercises