0x2418126-6-12y2418126-6-12
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
Units: US Customary Metric
Background:

Robot 1

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

Robot 2

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (6 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Robot 3

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

Robot 4

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (18 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Translating Function
Problem Statement:
A function F(x) is given on the board Grid in red. Now, draw the functions F(x + 4), F(x) - 6, and F(-2x). Use different color as necessary.
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.strokeWidth(3);
// f(-2*x) = scaling F(x)
plot.strokeColor("blue");
plot.line(0, 0, 12, -12);
plot.line(0, 0, -24, -48);
plot.line(12, -12, 24, 24);
// f(x+4) = move left by 4 units
plot.strokeColor("#cc33cc");
plot.line(-4, 0, 6, 20);
plot.line(-4, 0, -10, 6);
plot.line(-10, 6, -14, -6);
// f(x)-6 = move down by 6 units
plot.strokeColor("#33ccff");
plot.line(0, -6, -6, 0);
plot.line(-6, 0, -12, -18);
plot.line(0, -6, 12, 18);

plot.axisRange(PLOT_AXIS_XY, -12, 24);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
A function F(x) is given on the board Grid in red. Now, draw the functions F(x + 4), F(x) - 6, and F(-2x). Use different color as necessary.

		
Time