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: |
![]() |
|
|
|
|
|
|
|
|
|
/* Code generated by RoboBlockly v2.0 */ #include <chplot.h> CPlot plot; plot.strokeColor("blue"); plot.strokeWidth(3); plot.text("1", PLOT_TEXT_LEFT, -6, -2); plot.text("4", PLOT_TEXT_LEFT, -3.5, -2); plot.text("6", PLOT_TEXT_LEFT, -0.5, -2); plot.text("4", PLOT_TEXT_LEFT, 2.5, -2); plot.text("1", PLOT_TEXT_LEFT, 5, -2); plot.text("1", PLOT_TEXT_LEFT, -7.5, -4); plot.text("5", PLOT_TEXT_LEFT, -5, -4); plot.text("10", PLOT_TEXT_LEFT, -2.3, -4); plot.text("10", PLOT_TEXT_LEFT, 0.7, -4); plot.text("5", PLOT_TEXT_LEFT, 4, -4); plot.text("1", PLOT_TEXT_LEFT, 6.5, -4); delaySeconds(0.03); printf("(x+y)^4 = x^4 + 4*x^3*y + 6*x^2*y^2 + 4*x*y^3 + y^4"); printf("(x+y)^5 = x^5 + 5*x^4*y + 10*x^3*y^2 + 10*x^2*y^3 + 5*x*y^4 + y^5"); plot.axisRange(PLOT_AXIS_XY, -12, 12); plot.ticsRange(PLOT_AXIS_XY, 2); plot.sizeRatio(1); plot.plotting();
Problem Statement: The Pascal Triangle on the board shows up to the 3rd row (count starting from 0 ). In a polynomial expansion (x+y)^n: the row number corresponds to n and each number in the row tells you the coefficient of each term found from Polynomial Theorem, in order. Expand this triangle to the 5th row and answer prompt question. |
||||||||||||
|
||||||||||||