ALUMNO: GABRIEL ABDIAS GONZALES IDME CUI:20163370 FECHA:13/10/18
a= [-2 2] b= [10,8] c=b-a z=norm(c) x=randi(1,1); y=randi(1,1); while z ˜= 0 ; if (0<x)&&(x<=3); if (0<y)&&(y<=3); if a(1) < b(1); if a(2) < b(2); a(1)=a(1) + x; a(2)=a(2) + y; disp(a) c=b-a; z=norm(c); disp(z) end end end end end