Notes and Code | Outcome | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create the first point at (2, 4): Create a sphere object with a variable name "p1" and two
properties: the position is at the coordinate (2, 4), and the radius is 0.25 units.
|
|
||||||||||||||||||||||
Add axes so you can see where things are. To draw lines you use a curve
object and give the coordinates of points that will be connected by straight lines.
The positions of the points are given in an array.
|
|
||||||||||||||||||||||
Now add the second point at (6, 7)
|
|
||||||||||||||||||||||
Draw a line between the two points.
Show Notes ▼
You can use the position property (.pos) of the points to set the end points of the line.
|
|
||||||||||||||||||||||
Plot a point halfway between the two points (the midpoint).
|
|
||||||||||||||||||||||
Extend the line between the two points so it intercepts the y-axis.
|
|
||||||||||||||||||||||
Plot the following x and y values, and determine if the relation is a function.
|
|