Learning Math and Coding with Robots

Linkbot Image Mindstorm Image Cursor Image
0x48362412-12-24y48362412-12-24
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: Background Image

Robot 1

Linkbot
Mindstorm
Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (0 in, 0 in)
Current Angle: 0 deg
Wheel Radius:
Track Width:
in

Robot 2

Linkbot
Mindstorm
Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (0 in, 12 in)
Current Angle: 0 deg
Wheel Radius:
Track Width:
in

Robot 3

Linkbot
Mindstorm
Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (0 in, 24 in)
Current Angle: 0 deg
Wheel Radius:
Track Width:
in

Robot 4

Linkbot
Mindstorm
Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (0 in, 36 in)
Current Angle: 0 deg
Wheel Radius:
Track Width:
in

Honeycomb
Problem Statement:
The pre-placed blocks draw out 1 row of hexagons. Complete the honeycomb by adding in the necessary blocks. Hint: (traceOn/Off will be helpful here) After you figure out the solution, try modify the solution and see what other designs can you create.
/* Code generated by RoboBlockly v2.0 */
#include <linkbot.h>
CLinkbotI robot;
double radius = 1.75;
double trackwidth = ;
int count;
int count2;
int count3;
int count4;

robot.setSpeed(80, radius);
robot.traceOff();
robot.driveDistance(-10, radius);
robot.traceOn();
count4 = 0;
while(count4 < 5) {
  count3 = 0;
  while(count3 < 2) {
    count2 = 0;
    while(count2 < 4) {
      count = 0;
      while(count < 6) {
        robot.traceColor("#ff9900", 0);
        robot.driveDistance(4, radius);
        robot.turnRight(60, radius, trackwidth);
        count = count + 1;
      }
      robot.traceOff();
      robot.driveDistance(12, radius);
      robot.traceOn();
      count2 = count2 + 1;
    }
    robot.traceOff();
    robot.driveDistance(-54, radius);
    robot.turnLeft(90, radius, trackwidth);
    robot.driveDistance(3.5, radius);
    robot.turnRight(90, radius, trackwidth);
    robot.traceOn();
    count3 = count3 + 1;
  }
  robot.traceOff();
  robot.driveDistance(12, radius);
  robot.traceOn();
  count4 = count4 + 1;
}
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
The pre-placed blocks draw out 1 row of hexagons. Complete the honeycomb by adding in the necessary blocks. Hint: (traceOn/Off will be helpful here) After you figure out the solution, try modify the solution and see what other designs can you create.

		
Rubbish bin
Time