<jupyter_start><jupyter_text><jupyter_code>import numpy as np

w = np.array ([[1,-3],[2,-2],[3,1]])
print("w =", w)
print()


x = np.array ([[3,2,1],[-1,2,3],[2,-1,1]])
print("W =", W)
print()

y = np.array ([[1,2,0],[0,-1,2]])
print("y =", y)
print()

z = np.array ([[0,1],[2,3]])
print("z =", z)
print()






#compute cross product
output = np.cross(W,Y)
print(output)

sum = z+z
print (sum)
print (np.multiply(3,x))
print(3*x)<jupyter_output>[[ 9  6  3]
 [-3  6  9]
 [ 6 -3  3]]
[[ 9  6  3]
 [-3  6  9]
 [ 6 -3  3]]<jupyter_text>problem 2 A.<jupyter_code>np.power(np.dot(y,w),2)<jupyter_output><empty_output><jupyter_text>PROBLEM 2B.<jupyter_code>np.subtract(np.dot(w,y),x)<jupyter_output><empty_output><jupyter_text>Problem 3 C.<jupyter_code>np.subtract(np.dot(y,w),np.power(z,2))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.252760736196319, 'fraction_numerical': 0.06134969325153374, 'mean_word_length': 5.375, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '190885', 'license': 'Apache-2.0', 'n_tokens_mistral': 430, 'n_tokens_neox': 411, 'n_words': 64, 'path': 'Practical_Lab_Exam_1.ipynb', 'repo_name': 'kyriell2/linear-algebra', 'size': '815'}