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

Coordinate Soccer
Problem Statement:
Linkbot 1, 2, 3, 4 are playing soccer. Linkbot 1 guards Quadrant I area, +y axis, and +x axis. Linkbot 2 guards Quadrant II and -x axis. Linkbot 3 guards Quadrant III and the -y axis. Linkbot 4 guards Quadrant IV. The soccer ball is being kicked to random spot on the field. Read the coordinate of the soccer ball and drive the correct linkbot to the correct location using driveToXY command block.
```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
#include <linkbot.h>
CPlot plot;
CLinkbotI robot;
double radius = 1.75;
double trackwidth = 3.69;

// This is a sample solution: soccer ball lands at (-7,-1)
plot.noStrokeColor();
plot.fillColor("#999999");
plot.circle(-7, -1, 0.5);
plot.strokeWidth(3);
plot.strokeColor("blue");
plot.text("(-7,-1)", PLOT_TEXT_LEFT, -9.5, 0);
robot.drivexyTo(-7, -1, radius, trackwidth);

plot.axisRange(PLOT_AXIS_XY, -12, 12);
plot.ticsRange(PLOT_AXIS_XY, 2);
plot.sizeRatio(1);
plot.plotting();```
 Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
Linkbot 1, 2, 3, 4 are playing soccer. Linkbot 1 guards Quadrant I area, +y axis, and +x axis. Linkbot 2 guards Quadrant II and -x axis. Linkbot 3 guards Quadrant III and the -y axis. Linkbot 4 guards Quadrant IV. The soccer ball is being kicked to random spot on the field. Read the coordinate of the soccer ball and drive the correct linkbot to the correct location using driveToXY command block.

Time