Fix euclidianNorm and angleBtwVectors issues

This commit is contained in:
lukew3
2020-10-19 09:28:09 -04:00
parent e1e57ecae2
commit fe0c86b33e
4 changed files with 8 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
from .__init__ import *
def euclidianNormFunc(v1: list):
problem = f"Euclidian norm or L2 norm of the vector{v1} is:"
solution = sqrt(sum([i**2 for i in v1]))
return problem, solution