Learning Math and Coding with Robots

0x2015105-5-10y2015105-5-10
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: 20x20 cm 30x30 cm 60x60 cm
100x100 cm 200x200 cm
Quad: 4 quadrants 1 quadrant
Units: US Customary Metric
Background:

Robot 1

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 0 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Robot 2

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 5 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Robot 3

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 10 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Robot 4

Initial Position:
( cm, cm)
Initial Angle:
deg
Current Position: (0 cm, 15 cm)
Current Angle: 0 deg
Wheel Radius:
Track Width:
cm

Perform a - b (for b greater than a)
Problem Statement:
Add numbers a - b on a number line. Move the robot tick mark along the number line, first to the red line, and then to the green line with the two preplaced driveDistance blocks. Refresh to try another problem.
/* Code generated by RoboBlockly v2.0 */
#include <linkbot.h>
CLinkbotI robot;
double radius = 4.45;

// This is an example solution for 15 - 18
robot.traceColor("red", 5);
robot.driveDistance(15, radius);
robot.traceColor("green", 2);
robot.driveDistance(-18, radius);
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
Add numbers a - b on a number line. Move the robot tick mark along the number line, first to the red line, and then to the green line with the two preplaced driveDistance blocks. Refresh to try another problem.

		
Time