Grid: | ||
Tics Lines: |
|
Width
px
|
Hash Lines: |
|
Width
px
|
Labels: |
|
Font
px
|
Trace Lines: | ||
Robot 1: |
|
Width
px
|
Robot 2: |
|
Width
px
|
Robot 3: |
|
Width
px
|
Robot 4: |
|
Width
px
|
Axes: | x-axis | y-axis | Show Grid |
Grid: | 24x24 inches | 36x36 inches | 72x72 inches |
96x96 inches | 192x192 inches | ||
Quad: | 4 quadrants | 1 quadrant | Hardware |
Units: | US Customary | Metric |
Background: |
![]() |
|
|
|
|
|
|
|
|
|
/* Code generated by RoboBlockly v2.0 */ #include <chplot.h> CPlot plot; plot.noStrokeColor(); plot.fillColor("#cccccc"); plot.triangle(6, 8, 9, 18, 12, 8); plot.regularPolygon(18.5, 10.5, 3, 8, 0); plot.triangle(27, 8, 32, 8, 28, 16); plot.triangle(8, 32, 2, 26, 14, 28); plot.triangle(16, 27, 16, 33, 22, 27); plot.triangle(25, 32, 25, 27, 33, 27); plot.strokeColor("black"); plot.text("Isosceles", PLOT_TEXT_LEFT, 4, 4); plot.text("Triangle", PLOT_TEXT_LEFT, 4, 2); plot.text("Equilateral", PLOT_TEXT_LEFT, 14, 4); plot.text("Triangle", PLOT_TEXT_LEFT, 14, 2); plot.text("Acute", PLOT_TEXT_LEFT, 27, 5); plot.text("Scalene", PLOT_TEXT_LEFT, 26, 3); plot.text("Triangle", PLOT_TEXT_LEFT, 26, 1); plot.text("Obtuse", PLOT_TEXT_LEFT, 4, 24); plot.text("Scalene", PLOT_TEXT_LEFT, 4, 22); plot.text("Triangle", PLOT_TEXT_LEFT, 4, 20); plot.text("Right", PLOT_TEXT_LEFT, 16, 22); plot.text("Isosceles", PLOT_TEXT_LEFT, 14, 24); plot.text("Triangle", PLOT_TEXT_LEFT, 15, 20); plot.text("Right", PLOT_TEXT_LEFT, 27, 24); plot.text("Triangle", PLOT_TEXT_LEFT, 26, 22); plot.grid(PLOT_OFF); plot.axisRange(PLOT_AXIS_XY, 0, 36); plot.ticsRange(PLOT_AXIS_XY, 6); plot.sizeRatio(1); plot.plotting();
Problem Statement: Draw obtuse scalene, isosceles right, and right triangles. An obtuse scalene triangle has an obtuse angle and sides of different lengths. An isosceles right triangle has two sides of equal length and a right angle. Finally, draw a right triangle that is not isosceles. |
|||||||||||
|
|||||||||||