//Eg-1.5 //pg-16 clear clc summ=0; for i=1:100 summ=summ+i^2; end disp("sum of squares of first 100 natural numbers is") disp(summ)