Here's a simulation of 50 such trajectories.
The RED ones lose money. That is, at the end of Day 10, we have less than the $10 we put in.
The GREEN ones either make money or leave us with exactly the $10 we put in.
Fun post-GRFP @matplotlib
project inspired by the latest @3blue1brown
video. Using the Newton-raphson method, if an initial guess in the complex plane converges on one of the zeros after N steps, then it is colored accordingly.
from matplotlib import pyplot as plt
import numpy as np
fig = plt.figure()
for i in range(n):
for j in range(n)...ああっ余白が...