clc
clear

clc
clear

X = [2, 4, 7]
Y = [2, -4, 7]

magX = norm(X)
magY = norm(Y)

A = X + Y

B = 4*X - 3*Y

C = dot(X,Y)

D = cross(X,Y)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: