Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Folder full of pertinent coursework

1666 views
︠d3360a11-0d83-44b3-a695-2698dcebee1b︠ %md # Random Walk ### Sean Paradiso - Random walk can be defined as "...a mathematical formalization of a path that consists of a succession of random steps." (Wikipedia, 8 September 2015, at 02:37) - The 2D plot shows an arbitrarily generated normal random walk data set of 1000 points. We can see a minimum value reach around -25 with a maximum value of around 5 units. - The 3D plot also shows an arbitrarily generated normal random walk data set of 1000 points. This plot, however, is interactive and shows the respective values for x, y, and z. a6958bc5-aff6-4631-b816-d233bd664f49is︠ %md

stats.TimeSeries(1000).randomize('normal').sums().plot() v = [(0,0,0)] for i in range(1000): v.append([a+random()-.5 for a in v[-1]]) line3d(v, color='red', thickness=3, spin=3) show(graphs.PetersenGraph())
3D rendering not yet implemented
d3-based renderer not yet implemented
show(graphs.PetersenGraph())
d3-based renderer not yet implemented
show(graphs.PetersenGraph().plot3d(), frame=False)
3D rendering not yet implemented