for Learning Math and Coding
Piano
 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
 Labels: x-axis y-axis Show Grid Grid: 12x12 inches 24x24 inches 36x36 inches 72x72 inches 96x96 inches 192x192 inches Quad: 4 Quadrants 1 Quadrant 1&4 Quadrants 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
Mix Drinks using Ratios
```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
double lemonade;
CPlot plot;

plot.noStrokeColor();
plot.fillColor("#cc9933");
plot.rectangle(22, 6, 8, 15);
printf("How many oz of lemonade do you need to make a 15 oz, similar mixture to the 10 oz drink?"+"\n");
scanf("%lf", &lemonade);
plot.fillColor("#66ffff");
plot.rectangle(22, 21 - lemonade, 8, lemonade);
delaySeconds(0.03);

plot.axisRange(PLOT_AXIS_XY, 0, 36);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();```
 Load Blocks Symbol Symbol+Word Word Hardware LArduino Workspace Show Ch Save File
Problem Statement:
On the left, a drink that has 2 oz of lemonade and 8 oz of tea is shown. In total, the drink is 10 oz. On the right you will create a drink that is 15 oz total. The ratio of lemonade to tea should be the same as the ratio of lemonade to tea in the drink on the left. When you enter the correct amount, the program will draw a yellow rectangle on the right to illustrate how much of the drink should be lemonade.

Time