# D. Scott # Linear Algebra - Theory, Intuition, Code # Code Challenge 3.2 import numpy as np import matplotlib.pyplot as plt v1 = np.array([-6,4,2,8,12]) v2 = np.ones(5) print("Vector: ",v1) print("Average of values in vector: ",np.dot(v1,v2)/len(v1))