0x36302418126y36302418126
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

Find the Number of Apples that have Fallen from the Tree
Problem Statement:
Initially there are 13 apples in a tree by the lake. Some of the apples fall into the lake and 7 remain in the tree. Use the Draw Apple function to draw the correct number of apples in the lake, then run the program and answer the prompt. (Hint: Write an equation using a variable for the number of apples in the lake and solve for the variable)
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

// Describe this function...
void Draw_Apple(double x, double y) {
  plot.noStrokeColor();
  plot.fillColor("red");
  plot.circle(x, y, 1);
  plot.fillColor("#009900");
  plot.ellipse(x + 0.5, y + 1, 2, 0.5, 15);
}

Draw_Apple(18, 8);
Draw_Apple(21, 8);
Draw_Apple(24, 8);
Draw_Apple(18, 11);
Draw_Apple(21, 11);
Draw_Apple(24, 11);

plot.label(PLOT_AXIS_XY, "");
plot.grid(PLOT_OFF);
plot.tics(PLOT_AXIS_XY, PLOT_OFF);
plot.axis(PLOT_AXIS_XY, PLOT_OFF);
plot.axisRange(PLOT_AXIS_XY, 0, 36);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
Initially there are 13 apples in a tree by the lake. Some of the apples fall into the lake and 7 remain in the tree. Use the Draw Apple function to draw the correct number of apples in the lake, then run the program and answer the prompt. (Hint: Write an equation using a variable for the number of apples in the lake and solve for the variable)

		
Time