I think what you mean to say is perpendicular. Parallel lines have the same slope.
Also, you should put in the perpendicular bisector of the segment. That would be cool.
Thanks for having draggable points for creating lines. A question: Your Notes say the "bottom variable shows the slope of the line *parallel* to the line on the screen." Wouldn't a line *parallel* to another line have the *same* slope?? (A line *perpendicular* to another line would have a different slope, but I don't know what their product would be.)
Download the 3 sprites and 3 scripts of "Slopes" and open it in Scratch
Project Notes
The top variable shows the slope of the line on the screen. The bottom variable shows the slope of the line perpendicular to the line on the screen. When multiplied together, these slopes should equal -1. The points are draggable.
Comments
You need to be logged in to post comments
Add a Comment
You online?
All right... About what?
(view all replies)Yes, right now...
(view all replies)I think what you mean to say is perpendicular. Parallel lines have the same slope. Also, you should put in the perpendicular bisector of the segment. That would be cool.
That would be interesting...
Very nice educational project.
cool!
Great! You should put in each point's X/Y coordinates
Added it. :)
great... going to glitch-test some more. but I am sure that it works perfect.
Nice project. I like that you programmed "undefined."
Thanks for having draggable points for creating lines. A question: Your Notes say the "bottom variable shows the slope of the line *parallel* to the line on the screen." Wouldn't a line *parallel* to another line have the *same* slope?? (A line *perpendicular* to another line would have a different slope, but I don't know what their product would be.)
A perpendicular line's slope is the opposite reciprocal to the first line. Their prduct is always negative one.
(view all replies)Thanks for catching that!
(view all replies)Great! I love programming math stuff. I like how you programmed in undefined for the vertical line.
Thanks greenflash!
INTERESTING!!!!!!!!!!!!
Cool! Even programming simple equations into scratch is hard, and you did a really good job making your script (supposedly) flawless. Nice Project.
What is the unıt for slope? Degrees?
I don't know... It is the y change over the x change, (y2-y1)/(x2-x1)
(view all replies)Whatever unit that you were using, inches, centimeters, feet, meters, whatever!
(view all replies)COOL!!!!!!!!!!!!!!!!!!!
THANKS!!!!!!!!!!