Cody

# Piero Cimule

Rank
Badges
##### 810
Score
1 – 50 of 106
 Piero Cimule received Community Group Solver badge for Basics - Triangles on 22 Jun 2020 on 22 Jun 2020 on 22 Jun 2020 on 22 Jun 2020 Piero Cimule submitted a Comment to Solution 2593735 c=[]; for A=1:p B=0; while B < 1000 B = B+1; C = sqrt((A^2) + (B^2)); perimeter = A+B+C; if perimeter==p c(end+1,:) = [A,B,C]; end end end c=unique(sort(c,2),'rows'); x=cell(1,size(c,1)); for i=1:size(c,1) [x{1,i}]= deal(c(i,:)) end c=x on 22 Jun 2020 on 22 Jun 2020 Piero Cimule submitted a Comment to Solution 2593603 y=sqrt(x^2/(1+ratio^2))*ratio on 22 Jun 2020 on 22 Jun 2020 Piero Cimule submitted a Comment to Solution 2593591 d1=sqrt((X(2)-X(1))^2+(Y(2)-Y(1))^2); %distancia de A hasta B d2=sqrt((X(3)-X(1))^2+(Y(3)-Y(1))^2); %distancia de A hasta C d3=sqrt((X(3)-X(2))^2+(Y(3)-Y(2))^2); %distancia de B hasta C s=(d1+d2+d3)/2; %Semiperimetro y=sqrt(s*(s-d1)*(s-d2)*(s-d3)) %Fórmula de Herón on 21 Jun 2020 on 21 Jun 2020 Piero Cimule submitted a Comment to Solution 2590360 C=[3,4,5]; for i=2:n C(end+1,1,1)=C(end,2,1); C(end,2,1)=C(end-1,3,1); C(end,3,1)=sqrt(C(end,1,1)^2+C(end,2,1)^2); end C= [C(end,:,1)] area=C(3)^2 on 21 Jun 2020 Piero Cimule received CUP Challenge Master badge on 21 Jun 2020 on 21 Jun 2020 on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2590300 y=sqrt((x^2+(x+1)^2)/4); on 20 Jun 2020 on 20 Jun 2020 on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2590249 if (a^2+b^2-c^2==0) flag = true; else flag = false; end on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2590228 M=[a,b,c,d] c=nchoosek(M,3); c=c(sum(c(:,1:2).^2,2)-c(:,3).^2==0,:); if isempty(c) flag = false; else flag = true; end on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2590144 flag = false; A = (acos((b^2+c^2-a^2)/(2*b*c)))*180/pi; B = (acos((a^2+c^2-b^2)/(2*a*c)))*180/pi; C=180-A-B; D=[A,B,C]; if any(D==90) flag = true; end on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2590069 a = sqrt(c^2-b^2); on 20 Jun 2020 on 20 Jun 2020 Piero Cimule received Community Group Solver badge for Basics on Vectors on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589328 B=[] for i=1:length(A) for j=1:2 B(end+1)=A(i); end end on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589271 y=[0:2:n] on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589259 y=flip(x); on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589253 y=isvector(x); on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589244 y=max(x,[],'all'); on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589238 y=length(x); on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589232 y = dot(x,y) on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2589202 y = sort(x,'descend'); on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2586409 y=[1:(2^x)]; y=sum(y); on 20 Jun 2020 on 20 Jun 2020 on 20 Jun 2020 Piero Cimule submitted a Comment to Solution 2586403 vec = randperm(n); on 20 Jun 2020
1 – 50 of 106