|
|
|
|
40
|
|
40
|
|
41
|
In this laboratory experience, we will make some tools (square, circle, triangle, some special lines) work ... don't worry!, we will do it in a very simple way.
|
41
|
In this laboratory experience, we will make some tools (square, circle, triangle, some special lines) work ... don't worry!, we will do it in a very simple way.
|
42
|
|
42
|
|
43
|
-The drawing will be on a grid. The tools will be used by clicking any cell in the grid and, from that point, the necessary cells that make the figure will be painted. For example, if we choose the vertical line tool and we click the cell in position *(2,3)*, a vertical line will be drawn in all of the cells in column 2. That is, all of the cells in position $(2,y)$ will be marked for all of the $y$ in the grid.
|
|
|
|
|
43
|
+The drawing will be on a grid. The tools will be used by clicking any cell in the grid and, from that point, the necessary cells that make the figure will be painted. For example, if we choose the vertical line tool and we click the cell in position *(2,3)*, a vertical line will be drawn in all of the cells in column 2. That is, all of the cells in position $$(2,y)$$ will be marked for all of the $y$ in the grid.
|
44
|
|
44
|
|
45
|
|
45
|
|
46
|
---
|
46
|
---
|
|
|
|
|
182
|
|
182
|
|
183
|
#### 2b: Triangles
|
183
|
#### 2b: Triangles
|
184
|
|
184
|
|
185
|
-The triangle button produces an **isosceles** triangle as it is shown in Figure 7. For a selected size $$n$$, the size of the base will be $$2n + 1$$. The height should be $n+1$.
|
|
|
|
|
185
|
+The triangle button produces an **isosceles** triangle as it is shown in Figure 7. For a selected size $$n$$, the size of the base will be $$2n + 1$$. The height should be $$n+1$$.
|
186
|
|
186
|
|
187
|
|
187
|
|
188
|
![](images/triangles.png)
|
188
|
![](images/triangles.png)
|