Description Usage Arguments Value References Examples
Duopoly
plots a closed curve from the trochoids family
1 |
P |
Vector containing the xy-coordinates of the starting point for the curve |
l1 |
Number that indicates the length side of the segment drawn the first in each of the steps of the process |
angle1 |
Angle (0-360) that indicates the direction of the segment which is drawn the first in each of the steps of the process |
l2 |
Number that indicates the length side of the segment drawn the second in each of the steps of the process |
angle2 |
Angle (0-360) that indicates the direction of the segment which is drawn the second in each of the steps of the process |
time |
Number of seconds to wait for the program before drawing each of the segments that make the trochoid curve. If no |
color |
Color to indicate the points that are obtained during the process to approximate the trochoid. If missing, the points are not indicated and only the segments are drawn in the plot |
None. It produces the plot of a curve from the trochoids family
Abelson, H., & DiSessa, A. A. (1986). Turtle geometry: The computer as a medium for exploring mathematics. MIT press
Armon, U. (1996). Representing trochoid curves by DUOPOLY procedure. International Journal of Mathematical Education in Science and Technology, 27(2), 177-187
1 2 3 4 5 6 7 8 9 10 11 | x_min <- -100
x_max <- 100
y_min <- -50
y_max <- 150
CoordinatePlane(x_min, x_max, y_min, y_max)
P <- c(0,0)
l1 <- 2
angle1 <- 3
l2 <- 2
angle2 <- 10
Duopoly(P, l1, angle1, l2, angle2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.