### 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

Fishy Fish Animation
Problem Statement:
You need to edit multiple blocks and change the numbers inside the triangle blocks for the fish tail animation. The tail should be attached to the body.
```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
double j;
double x;
double i;
CPlot plot;
int count;

plot.noStrokeColor();
for(j = -20; j <= 7; j++) {
//plot.backgroundImage("underwater.png");
plot.fillColor("orange");
plot.ellipse(j, 0, 12, 7, 0);
plot.triangle(j + -14, 0, j + -8, 6, j + 0, 0);
plot.fillColor("white");
plot.circle(j + 4, 1, 1);
plot.fillColor("black");
plot.circle(j + 4, 1, 0.5);
delaySeconds(0.03);
}
count = 0;
while(count < 4) {
double x_inc = (randint(1, 2)).abs();
if (1 > 6) {
x_inc = -x_inc;
}
x = 1;
while(x_inc >= 0 ? x <= 6 : x >= 6) {
plot.fillColor("orange");
plot.ellipse(7, 0, 12, 7, 0);
if (x % 2 == 0) {
plot.fillColor("white");
plot.circle(11, 1, 1);
plot.fillColor("black");
plot.circle(11, 1, 0.5);
}
else {
plot.fillColor("black");
plot.line(12, 1, 10, 1);
}
delaySeconds(0.25);
x += x_inc;
}
count = count + 1;
}
for(i = 1; i <= 30; i++) {
//plot.backgroundImage("underwater.png");
plot.fillColor("orange");
plot.noStrokeColor();
plot.ellipse(7, 0, 12, 7, 0);
plot.triangle(-7, 0, -1, 6, 7, 0);
plot.fillColor("white");
plot.circle(11, 1, 1);
plot.fillColor("black");
plot.circle(11, 1, 0.5);
plot.strokeColor("cyan");
plot.fillColor("white");
plot.circle(13, 1 + i, 1 + 0.1 * i);
delaySeconds(0.08);
}
plot.noStrokeColor();
for(j = 7; j <= 40; j++) {
//plot.backgroundImage("underwater.png");
plot.fillColor("orange");
plot.ellipse(j, 0, 12, 7, 0);
plot.triangle(j + -14, 0, j + -8, 6, j + 0, 0);
plot.fillColor("white");
plot.circle(j + 4, 1, 1);
plot.fillColor("black");
plot.circle(j + 4, 1, 0.5);
delaySeconds(0.03);
}

plot.axisRange(PLOT_AXIS_XY, -12, 24);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();```
 Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
You need to edit multiple blocks and change the numbers inside the triangle blocks for the fish tail animation. The tail should be attached to the body.

Time