### Learning Math and Coding with Robots

 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:

#### Robot 1

 Initial Position: ( in, in) Initial Angle: deg Current Position: (0 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

#### Robot 2

 Initial Position: ( in, in) Initial Angle: deg Current Position: (6 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

#### Robot 3

 Initial Position: ( in, in) Initial Angle: deg Current Position: (12 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

#### Robot 4

 Initial Position: ( in, in) Initial Angle: deg Current Position: (18 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

Draw Mountains
Problem Statement:

The pre-placed blocks set the background color and draw a mountain. Add more blocks to draw a scene with mountains and hills like shown in the initial prompt. You may use shapes like triangles and even Bezier curves, if you would like a challenge.

```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
double i;
CPlot plot;

plot.backgroundColor("#33ccff");
plot.noStrokeColor();
plot.fillColor("#006600");
plot.rectangle(0, 0, 36, 12);
plot.triangle(0, 12, 12, 24, 18, 12);
plot.triangle(14, 12, 24, 26, 32, 12);
plot.triangle(28, 12, 32, 20, 36, 12);
plot.fillColor("white");
plot.triangle(8, 20, 12, 24, 13, 22);
plot.triangle(10, 22, 12, 24, 14, 20);
plot.triangle(10, 22, 12, 20, 13, 22);
plot.triangle(24, 26, 21, 22, 25, 24.3);
plot.triangle(24, 26, 22, 23, 26, 22.5);
plot.triangle(22, 23, 23, 21, 25, 24);
plot.triangle(32, 20, 31, 18, 34, 16.3);
plot.triangle(32, 20, 30.7, 17.5, 33, 17.7);
plot.fillColor("#33cc00");
plot.rectangle(0, 0, 36, 8);
plot.strokeColor("#006600");
plot.bezier(-2, 8, 10, 16, 14, 16, 16, 8);
plot.bezier(26, 7, 30, 12, 33, 16, 40, 7);
plot.bezier(10, 6, 20, 18, 23, 16, 28, 7);
plot.noStrokeColor();
plot.fillColor("white");
plot.circle(10, 29, 2);
plot.circle(20, 29, 3);
plot.circle(22, 29, 2);
plot.ellipse(15, 29, 10, 8, 0);
plot.circle(30, 29, 2);
plot.circle(32, 29, 1.5);
plot.circle(28, 29, 1);
plot.circle(29, 30, 1);
plot.circle(0, 32, 2);
plot.circle(2, 32, 2.5);
plot.circle(4, 32, 2);
plot.circle(4, 30.5, 1);
plot.strokeWidth(3);
plot.strokeColor("#009900");
plot.line(8, 8, 8, 4);
plot.line(6, 4, 5, 7);
plot.line(9, 4, 10, 7);
plot.line(25, 7, 26, 3);
plot.line(28, 6, 27, 3);
plot.noStrokeColor();
plot.fillColor("red");
for(i = 1; i <= 6; i++) {
plot.ellipse(8, 8, 1, 3, i * 60);
}
for(i = 1; i <= 6; i++) {
plot.ellipse(5, 7, 1, 3, i * 60);
}
for(i = 1; i <= 6; i++) {
plot.ellipse(10, 7, 1, 3, i * 60);
}
for(i = 1; i <= 6; i++) {
plot.ellipse(25, 7, 1, 3, i * 60);
}
for(i = 1; i <= 6; i++) {
plot.ellipse(28, 6, 1, 3, i * 60);
}
plot.fillColor("yellow");
plot.circle(8, 8, 0.5);
plot.circle(10, 7, 0.5);
plot.circle(5, 7, 0.5);
plot.circle(28, 6, 0.5);
plot.circle(25, 7, 0.5);
plot.grid(PLOT_OFF);

plot.axisRange(PLOT_AXIS_XY, 0, 36);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();```
 Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:

The pre-placed blocks set the background color and draw a mountain. Add more blocks to draw a scene with mountains and hills like shown in the initial prompt. You may use shapes like triangles and even Bezier curves, if you would like a challenge.

Time