### 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: (14 in, 42 in) Current Angle: 0 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

#### Robot 2

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

#### Robot 3

 Initial Position: ( in, in) Initial Angle: deg Current Position: (42 in, 46 in) Current Angle: 180 deg Wheel Radius: 1.1 in1.61 in Track Width: in

#### Robot 4

 Initial Position: ( in, in) Initial Angle: deg Current Position: (54 in, 28 in) Current Angle: 180 deg Wheel Radius: 1.1 in1.61 in Track Width: in

Hockey Team
Problem Statement:
The pre-placed blocks will give you everything needed for the program. Your goal is to edit the loop of the puck in the given code to make it look like the red linkbot is passing the ball to the green linkbot and the green linkbot is hitting the puck to make a goal; while the pink robot intercepts and makes a goal.
```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
#include <mindstorms.h>
double i;
CPlot plot;
double trackwidth1 = 3.69;
double trackwidth2 = 3.69;
CMindstorms robot3;
double trackwidth3 = 4.54;
CMindstorms robot4;
double trackwidth4 = 4.54;

plot.noStrokeColor();
plot.fillColor("black");
for(i = 1; i <= 22; i++) {
//plot.backgroundImage("hockeyRink.png");
plot.circle(14 + i, 42 + -0.545 * i, 2);
delaySeconds(0.03);
}
for(i = 1; i <= 22; i++) {
//plot.backgroundImage("hockeyRink.png");
plot.circle(36 + i, 30 + 0.3 * i, 2);
delaySeconds(0.03);
}
for(i = 1; i <= 50; i++) {
//plot.backgroundImage("hockeyRink.png");
plot.circle(58 - i, 36, 2);
delaySeconds(0.01);
}
robot4.moveWait();
robot3.moveWait();
robot2.moveWait();
robot1.moveWait();

plot.axisRange(PLOT_AXIS_XY, 0, 72);
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 will give you everything needed for the program. Your goal is to edit the loop of the puck in the given code to make it look like the red linkbot is passing the ball to the green linkbot and the green linkbot is hitting the puck to make a goal; while the pink robot intercepts and makes a goal.

Time