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

Fastest Team
Problem Statement:

Your 3-robots team is doing a biking - swimming - running race. The length of each activity and the robots' speeds are listed in the table. Find the order (which robot does which activity - no repeat) that would finish the entire race the fastest. The 6 possibilities are under the Function tab.

```/* Code generated by RoboBlockly v2.0 */
/* Problem Statement:

Your 3-robots team is doingÂ a biking -Â swimming -Â running
race. The length of each activityÂ and the robots'
speedsÂ are listed in the table. Find the order (which robot
does which activity - no repeat) that would finish the
entire race the fastest. The 6Â possibilities are under the
Function tab.Â
*/
double trackwidth1 = 3.69;
double trackwidth2 = 3.69;

// Describe this function...
void my_1_bike__2__swim__3_run() {
robot1.moveWait();
robot1.moveWait();
// comment
}
double trackwidth3 = 3.69;

// Describe this function...
void my_1_bike__3__swim__2_run() {
robot1.moveWait();
// comment
}

// Describe this function...
void my_2_bike__3_swim__1_run() {
// comment
}

// Describe this function...
void my_2_bike__1__swim__3_run() {
robot1.moveWait();
// comment
}

// Describe this function...
void my_3_bike__1__swim__2_run() {
// comment
}

// Describe this function...
void my_3_bike__2__swim__1_run() {