A = [ 3 4 6 7 10];
B= [-20 5 15 24];
disp(variance(A), "The sample variance of A is")
disp(variance(B), "The sample variance of B is")