Art of Problem Solving

User:Arowana77: Difference between revisions

Arowana77 (talk | contribs)
Hello World!
 
Arowana77 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Hello World!
Hello World!
<asy>
import three;
unitsize(1cm);
size(300);
currentprojection=orthographic(-1/3,-1,-1/2);
//basic coordinates to origin (-1,-1,-1)
draw((-1,-1,-1)--(-1,-1,100));
draw((-1,-1,-1)--(-1,100,-1));
draw((-1,-1,-1)--(100,-1,-1));
label("$X$",(100,-1,-1), SW);
label("$Y$",(-1,100,-1), SW);
label("$Z$",(-1,-1,100), SW);
// X+Y+Z=75 space over original (-1,-1,-1)
draw((-1,-1,77)--(-1,77,-1),red);
draw((77,-1,-1)--(-1,77,-1),red);
draw((77,-1,-1)--(-1,-1,77),red);
//
draw((-1,38,38)--(77,-1,-1),red);
draw((-1,-1,77)--(38,38,-1),red);
//label
label("$(-1,-1,77)$",(-1,-1,77), SW);
label("$(-1,77,-1)$",(-1,77,-1), SW);
label("$(77,-1,-1)$",(77,-1,-1), SW);
label("$(25,25,25)$",(25,25,25), NE);
label("$(-1,-1,-1)$",(-1,-1,-1));
label("$(-1,38,38)$",(-1,38,38));
label("$(38,38,-1)$",(38,38,-1));
//the target area in blue
draw((-1,-1,77)--(25,25,25),blue);
draw((-1,-1,77)--(-1,38,38),blue);
draw((25,25,25)--(-1,38,38),blue);
</asy>

Revision as of 11:46, 18 February 2025

Hello World!

[asy] import three; unitsize(1cm); size(300); currentprojection=orthographic(-1/3,-1,-1/2); //basic coordinates to origin (-1,-1,-1) draw((-1,-1,-1)--(-1,-1,100)); draw((-1,-1,-1)--(-1,100,-1)); draw((-1,-1,-1)--(100,-1,-1)); label("$X$",(100,-1,-1), SW); label("$Y$",(-1,100,-1), SW); label("$Z$",(-1,-1,100), SW);  // X+Y+Z=75 space over original (-1,-1,-1) draw((-1,-1,77)--(-1,77,-1),red); draw((77,-1,-1)--(-1,77,-1),red); draw((77,-1,-1)--(-1,-1,77),red); // draw((-1,38,38)--(77,-1,-1),red); draw((-1,-1,77)--(38,38,-1),red); //label label("$(-1,-1,77)$",(-1,-1,77), SW); label("$(-1,77,-1)$",(-1,77,-1), SW); label("$(77,-1,-1)$",(77,-1,-1), SW); label("$(25,25,25)$",(25,25,25), NE); label("$(-1,-1,-1)$",(-1,-1,-1)); label("$(-1,38,38)$",(-1,38,38)); label("$(38,38,-1)$",(38,38,-1)); //the target area in blue draw((-1,-1,77)--(25,25,25),blue); draw((-1,-1,77)--(-1,38,38),blue); draw((25,25,25)--(-1,38,38),blue); [/asy]