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

#### Robot 3

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

#### Robot 4

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

Two Cars Roundabout
Problem Statement:
The pre-placed blocks drive the two linkbots to the entrances and attempt at the turn. Modify the existing blocks and add in new ones to navigate the two linkbots around the roundabout to reach their destinations (Robot1 goes from red to green entrance. Robot2 goes from orange to blue.)
```/* Code generated by RoboBlockly v2.0 */
#include <linkbot.h>
double r;
double d;
CLinkbotI robot1;
double radius1 = 1.75;
CLinkbotI robot2;
double radius2 = 1.75;
double trackwidth1 = 3.69;
double trackwidth2 = 3.69;
int count;

// r is the radius of the circular roundabout
r = 18;
d = 2 * (M_PI * (double(r)/360));
robot1.setSpeed(8, radius1);
robot2.setSpeed(8, radius2);
robot1.driveDistanceNB(18, radius1);
robot2.driveDistance(18, radius2);
robot1.turnRightNB(90, radius1, trackwidth1);
robot2.turnRight(90, radius2, trackwidth2);
robot1.moveWait();
count = 0;
while(count < 90) {
robot1.driveDistanceNB(d, radius1);
robot1.turnLeftNB(1, radius1, trackwidth1);
robot2.driveDistanceNB(d, radius2);
robot2.turnLeftNB(1, radius2, trackwidth2);
count = count + 1;
}
robot1.turnRightNB(90, radius1, trackwidth1);
robot2.turnRight(90, radius2, trackwidth2);
robot1.driveDistanceNB(18, radius1);
robot2.driveDistance(18, radius2);
robot1.moveWait();
```
 Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
The pre-placed blocks drive the two linkbots to the entrances and attempt at the turn. Modify the existing blocks and add in new ones to navigate the two linkbots around the roundabout to reach their destinations (Robot1 goes from red to green entrance. Robot2 goes from orange to blue.)

Time