# D. Scott
# Linear Algebra (Theory, Intuition, Code)
# Ch. 2 Code Challenge
import numpy as np
import matplotlib.pyplot as plt
v = np.array([1,-2])
plt.plot([0,v[0]],[0,v[1]])
plt.axis([-3.5,3.5,-3.5,3.5])
plt.grid('on')
sigma = 1
# generate 10 RVs from normal distr
rvs = np.random.normal(mu, sigma, 10)
for s in rvs:
v2 = s*v
plt.plot([0,v2[0]],[0,v2[1]])