Stuttering B
v = 0
w = 0
x = Uniform(-9, 7)
y = Uniform(-7, 9)
s = 0
f = 0
while true:
v = Uniform(-3, 5)
w = Uniform(-6, 10)
f = Bernoulli(3/4)
x = x + f*v
y = y + f*w
s = x + y
end
Stuttering B
v = 0
w = 0
x = Uniform(-9, 7)
y = Uniform(-7, 9)
s = 0
f = 0
while true:
v = Uniform(-3, 5)
w = Uniform(-6, 10)
f = Bernoulli(3/4)
x = x + f*v
y = y + f*w
s = x + y
end