+0

# Asymptote Help

+2
44
7
+166

Hey, I was writing a written response problem proof, and Ineed to lable a diagram. Normally I am quite good at this, but I can't seem as to figure out where to place the labels.

I need to label:

Line AC as x,

Line AB as y,

and Line BC as z.

Here is the image:

and here is the code:

[asy]
pair A = (1, 0);
pair B = (7/25, 24/25);
pair C = (-1, 0);

path AB = arc((16/25, 12/25), 3/5,-53.13, 180-53.13);
path BC =arc((-9/25, 12/25), 4/5,36.87, 180+36.87);
path AC = arc((0, 0), 1, 0, 180);

fill(AB--cycle, gray);
fill(BC--cycle, gray);
draw(arc((0, 0), 1, 0, 180));
draw(arc((-9/25, 12/25), 4/5,36.87, 180+36.87));
draw(A--B--C--cycle);
draw(rightanglemark(A, B, C, 3));

label("\$A\$", A, E);
label("\$B\$", B, N);
label("\$C\$", C, W);
[/asy]

Sep 4, 2020

#1
+166
+1

This is of low priority, but I need a response in the next 3ish hours.

Sep 4, 2020
#3
+1035
+1

I'm not sure what you mean by "place the labels". In the Asympote code? Or are you going to draw it?

If you are going to draw it (I recommend you do that, because putting it in the Asympote code looks messy) just put it above the corresponding line.

ilorty  Sep 4, 2020
#5
+166
0

I considered doing that, but I don't have the editing software for it!

Nacirema  Sep 4, 2020
#6
+1035
+2

Oh!

Do you use apple computers/devices?

You can take a screenshot, go into the photos app, and press the "edit" button.

Then, go to the three dots at the top, and press "markup". From there, you can create text boxes or draw the variables.

But, if you are using windows, I am unsure of how to help... I could just do it for you, but guest already did that.

Maybe you could learn Asympote! It's kind of hard at first, but once you get the hang of it, it would be really easy to add x, y and z to the lines.

ilorty  Sep 4, 2020
#7
+166
0

1. I use a chromebook or a phone.

2. Actually, I do know Asymptote, just my brain is broken today!

Nacirema  Sep 4, 2020
#2
+2

Here is a labelled one:

Sep 4, 2020
#4
+166
+1

Thank you! This is what I was looking for.

Nacirema  Sep 4, 2020