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: |
![]() |
|
|
|
|
|
|
|
|
|
/* 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();
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. |
|||||||||||
|
|||||||||||