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

#### Robot 2

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

#### Robot 3

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

#### Robot 4

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

Draw a Scarf on a Snowman
Problem Statement:

The pre-placed blocks draw the snowman. Add a scarf using a Bezier curve. Make sure to use a no fill color block, and change the stroke width as necessary. Try different coordinates to see what works. You will want to think about layering when adding the scarf. The scarf should be drawn after the body and before the head.

```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.fillColor("white");
plot.strokeColor("black");
plot.ellipse(18, 10, 12, 12, 0);
plot.ellipse(18, 18, 9, 9, 0);
plot.strokeColor("red");
plot.strokeWidth(10);
plot.noFill();
plot.bezier(24, 22, 11, 17, 12, 28, 22, 20);
plot.strokeColor("black");
plot.fillColor("white");
plot.strokeWidth(2);
plot.ellipse(18, 24, 7, 7, 0);
plot.fillColor("black");
plot.ellipse(18, 19, 1, 1, 0);
plot.ellipse(18, 17, 1, 1, 0);
plot.ellipse(18, 15, 1, 1, 0);
plot.ellipse(16.5, 24.5, 0.8, 0.8, 0);
plot.ellipse(19.5, 24.5, 0.8, 0.8, 0);
plot.arc(18, 24, 2.7, 225, 315);
plot.rectangle(16, 26.5, 4, 5, 0);
plot.rectangle(14, 26.5, 8, 0.7, 0);
plot.fillColor("#ff6600");
plot.triangle(17.5, 23.5, 17.5, 22.5, 22, 23);
plot.strokeColor("#663333");
plot.line(15, 18, 9, 20);
plot.line(21, 18, 27, 20);
plot.line(10, 19.66, 9, 21);
plot.line(26, 19.66, 27, 21);
plot.grid(PLOT_OFF);

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:

The pre-placed blocks draw the snowman. Add a scarf using a Bezier curve. Make sure to use a no fill color block, and change the stroke width as necessary. Try different coordinates to see what works. You will want to think about layering when adding the scarf. The scarf should be drawn after the body and before the head.

Time