Loading...
[v2] Lights Out Puzzle (solver)
Save Copy
Desmos Logo
Log In
Sign Up
Run
Tick Action: "C" Subscript, "o" "m" "p" "a" "r" "e" , Baseline to left parenthesis, "W" , "H" , right parenthesis , "L" to left brace, "R" Subscript, "a" "n" "d" "o" "m" "i" "z" "e" , Baseline equals 0 : left brace, distance left parenthesis, "C" Subscript, "o" "m" "p" "a" "r" "e" , Baseline , left parenthesis, "W" , "H" , right parenthesis , right parenthesis equals 0 : "L" , left bracket, 1... "W" "H" , right bracket to the 0 power minus 1 , right brace , "L" Subscript, "n" "e" "w" , Baseline left parenthesis, 1 plus floor left parenthesis, "W" "H" random left parenthesis, , right parenthesis , right parenthesis , right parenthesis , right brace , "K" to left brace, distance left parenthesis, "C" Subscript, "o" "m" "p" "a" "r" "e" , Baseline , left parenthesis, "W" , "H" , right parenthesis , right parenthesis equals 0 : "K" Subscript, "e" "e" "p" "I" "t" "R" "e" "a" "d" "y" "K" , Baseline , left bracket, 1... "W" "H" , right bracket to the 0 power minus 1 , right brace , "K" Subscript, "l" "a" "y" "e" "r" "c" "u" "r" "r" , Baseline to left brace, distance left parenthesis, "C" Subscript, "o" "m" "p" "a" "r" "e" , Baseline , left parenthesis, "W" , "H" , right parenthesis , right parenthesis equals 0 : "K" Subscript, "e" "e" "p" "I" "t" "R" "e" "a" "d" "y" "K" "L" "a" "y" "e" "r" "C" "u" "r" "r" , Baseline , 0 , right brace , "M" Subscript, "a" "t" "r" "i" "x" "f" "r" "o" "m" "f" "i" "r" "s" "t" "l" "a" "y" "e" "r" "i" "n" "p" "u" "t" "s" , Baseline to left brace, distance left parenthesis, "C" Subscript, "o" "m" "p" "a" "r" "e" , Baseline , left parenthesis, "W" , "H" , right parenthesis , right parenthesis equals 0 : "K" Subscript, "e" "e" "p" "I" "t" "R" "e" "a" "d" "y" "M" "a" "t" "r" "i" "x" "F" "r" "o" "m" "F" "i" "r" "s" "t" "L" "a" "y" "e" "r" "I" "n" "p" "u" "t" "s" , Baseline , left bracket, , right bracket , right brace , "S" Subscript, "t" "e" "p" 2 "R" "e" "d" , Baseline , "U" Subscript, "s" "e" "a" "r" "c" "h" "i" "n" "g" , Baseline , "S" Subscript, "t" "e" "p" 4 "U" "p" "d" "a" "t" "e" "s" , Baseline , "s" Subscript, "o" "l" "u" "t" "i" "o" "n" "u" "p" "d" "a" "t" "e" , Baseline to left brace, "S" Subscript, "h" "o" "u" "l" "d" "S" "o" "l" "v" "e" , Baseline equals 0 : left bracket, 1... "W" "H" , right bracket to the 0 power minus 1 , "s" Subscript, "o" "l" "u" "t" "i" "o" "n" "u" "p" "d" "a" "t" "e" , Baseline , right brace
C
o
m
p
a
r
e
→
W
,
H
,
L
→
R
a
n
d
o
m
i
z
e
=
0
:
d
i
s
t
a
n
c
e
C
o
m
p
a
r
e
,
W
,
H
=
0
:
L
,
1
.
.
.
W
H
0
−
1
,
L
n
e
w
1
+
f
l
o
o
r
W
H
r
a
n
d
o
m
,
K
→
d
i
s
t
a
n
c
e
C
o
m
p
a
r
e
,
W
,
H
=
0
:
K
e
e
p
I
t
R
e
a
d
y
K
,
1
.
.
.
W
H
0
−
1
,
K
l
a
y
e
r
c
u
r
r
→
d
i
s
t
a
n
c
e
C
o
m
p
a
r
e
,
W
,
H
=
0
:
K
e
e
p
I
t
R
e
a
d
y
K
L
a
y
e
r
C
u
r
r
,
0
,
M
a
t
r
i
x
f
r
o
m
f
i
r
s
t
l
a
y
e
r
i
n
p
u
t
s
→
d
i
s
t
a
n
c
e
C
o
m
p
a
r
e
,
W
,
H
=
0
:
K
e
e
p
I
t
R
e
a
d
y
M
a
t
r
i
x
F
r
o
m
F
i
r
s
t
L
a
y
e
r
I
n
p
u
t
s
,
,
S
t
e
p
2
R
e
d
,
U
s
e
a
r
c
h
i
n
g
,
S
t
e
p
4
U
p
d
a
t
e
s
,
s
o
l
u
t
i
o
n
u
p
d
a
t
e
→
S
h
o
u
l
d
S
o
l
v
e
=
0
:
1
.
.
.
W
H
0
−
1
,
s
o
l
u
t
i
o
n
u
p
d
a
t
e
every
0
0
Min Step Time:
ms
solving: Finding the first layer combination that solves the last layer using what we've calculated in the 'initiation'
solving: Finding the first layer combination that solves the last layer using what we've calculated in the 'initiation'
Hide this folder from students.
38
solving: generating 'SaveClicks2' using the first row combination we need (variable: Found)
solving: generating 'SaveClicks2' using the first row combination we need (variable: Found)
Hide this folder from students.
46
Finding the tiles needed to be clicked (SaveClicks1+SaveClicks2)
Finding the tiles needed to be clicked (SaveClicks1+SaveClicks2)
Hide this folder from students.
56
Shuffle
Shuffle
Hide this folder from students.
65
-MathEnthusiast314
-MathEnthusiast314
69
70
powered by
powered by
Solve!
🔀 Start
"x"
x
"y"
y
"a" squared
a
2
"a" Superscript, "b" , Baseline
a
b
7
7
8
8
9
9
over
÷
functions
(
(
)
)
less than
<
greater than
>
4
4
5
5
6
6
times
×
| "a" |
|
a
|
,
,
less than or equal to
≤
greater than or equal to
≥
1
1
2
2
3
3
negative
−
A B C
StartRoot, , EndRoot
pi
π
0
0
.
.
equals
=
positive
+
Log In
or
Sign Up
to save your graphs!
New Blank Graph
Examples
Lines: Slope Intercept Form
example
Lines: Point Slope Form
example
Lines: Two Point Form
example
Parabolas: Standard Form
example
Parabolas: Vertex Form
example
Parabolas: Standard Form + Tangent
example
Trigonometry: Period and Amplitude
example
Trigonometry: Phase
example
Trigonometry: Wave Interference
example
Trigonometry: Unit Circle
example
Conic Sections: Circle
example
Conic Sections: Parabola and Focus
example
Conic Sections: Ellipse with Foci
example
Conic Sections: Hyperbola
example
Polar: Rose
example
Polar: Logarithmic Spiral
example
Polar: Limacon
example
Polar: Conic Sections
example
Parametric: Introduction
example
Parametric: Cycloid
example
Transformations: Translating a Function
example
Transformations: Scaling a Function
example
Transformations: Inverse of a Function
example
Statistics: Linear Regression
example
Statistics: Anscombe's Quartet
example
Statistics: 4th Order Polynomial
example
Lists: Family of sin Curves
example
Lists: Curve Stitching
example
Lists: Plotting a List of Points
example
Calculus: Derivatives
example
Calculus: Secant Line
example
Calculus: Tangent Line
example
Calculus: Taylor Expansion of sin(x)
example
Calculus: Integrals
example
Calculus: Integral with adjustable bounds
example
Calculus: Fundamental Theorem of Calculus
example
Terms of Service
|
Privacy Policy