• Remix
  • Share
  • New Entry

on 4 Oct 2021
  • 7
  • 10
  • 0
  • 0
  • 270
a=5;
b=2;
d=a+b;
h='hor';
v='ver';
f='fontsize';
c=hypot(a,b);
fill([0 1 1 0]*d,[0 0 1 1]*d,'k'); hold on;
fill([a d b 0],[0 a d b],'w');
text(d/2,d/2,'c^2',f,30);
text(0,b/2,'b ',h,'right',f,30);
text(a/2,0,'a',v,'top',h,'center',f,30);
text(a/2,b/2,'c',h,'left',v,'bottom',f,30);
axis equal off;
Image
Remix Tree