Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x= input('entre com o valor de x: ');
- y= input('entre com o valor de y: ');
- p1=[-x, y];
- p2=[-x, -y];
- p3=[x, y];
- p4=[x, -y];
- plot([p1(1),p4(1)],[p1(2),p4(2)],[p2(1),p3(1)],[p2(2),p3(2)]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement