I am trying to make a graphical solution for the infinite sum of 1/2^n. It is simple if we draw a 1x1 square, and start representing this sum inside the square. could someone tell me how I could draw this with latex code? I attach an image to make it clearer.

Asked
Active
Viewed 272 times
1 Answers
1
I hope this question and answer helps you.
How to Create a Fast Code with TikZ Using MATHCHA
I am not an expert as well, but this way was helpful for me! Following the steps in the above link,
- Go to this site https://www.mathcha.io/editor
- Add geometric objects in the "Diagram" part. (and remove all other default things with 'delete' key in your key board)
- Export the image you drew as tikz codes(copy at your clipboard)
- Write "\usepackage{tikz}" up in your latex codes
- Paste the tikz codes(in step 3) to appropriate location(inside "\begin{document}" and "\end{document}")
for example, I drew simple figure using these steps and the resulting figure was like below.(Since the actual codes will not directly help you, I just attach the whole codes and sample image written in overleaf site.)
eskim
- 21

tikz, but note that this site is not aplease do this for meservice. Please show what you have so far besides the image. – daleif Sep 27 '21 at 09:05