Piero Cimule

4283
Rank
5
Badges
800
Score
1 – 50 of 90

Piero Cimulesubmitted a评论toSolution 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

Piero CimulereceivedCUP Challenge Masterbadge

on 21 Jun 2020

Piero Cimulesubmitted a评论toSolution 2590300

y=sqrt((x^2+(x+1)^2)/4);

2020年6月20日

Piero Cimulesubmitted a评论to解决方案2590249

if(a^2+b^2-c^2 == 0)flag = true;else flag = false;结尾

2020年6月20日

Piero Cimulesubmitted a评论toSolution 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

2020年6月20日

Piero Cimulesubmitted a评论toSolution 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

2020年6月20日

Piero Cimulesubmitted a评论toSolution 2590069

a = sqrt(c^2-b^2);

2020年6月20日

Piero CimulereceivedCommunity Group Solverbadge forBasics on Vectors

2020年6月20日

Piero Cimulesubmitted a评论toSolution 2589271

y = [0:2:n]

2020年6月20日

Piero Cimulesubmitted a评论to解决方案2589259

y=flip(x);

2020年6月20日

Piero Cimulesubmitted a评论to解决方案2589253

y=isvector(x);

2020年6月20日

Piero Cimulesubmitted a评论toSolution 2589244

y=max(x,[],'all');

2020年6月20日

Piero Cimulesubmitted a评论to解决方案2589232

y = dot(x,y)

2020年6月20日

Piero Cimulesubmitted a评论toSolution 2586403

vec = randperm(n);

2020年6月20日

Piero Cimulesubmitted a评论toSolution 2586394

y=0; for index=1:length(x) y = y + str2num(x(index)); end

2020年6月20日

Piero Cimulesubmitted a评论toSolution 2586337

K = kron(1:n,1:n) m = reshape(K,n,n)

on 19 Jun 2020

1 – 50 of 90