PLEASE READ THIS AFTER YOU PRESS THE GREEN FLAG! This is an experimental maths project, explaining a relatively simple problem: "Based off of the diagram you see in the project, what is the formula to find the amount of time you can draw a vertical line that intersects both cars?" Admittedly, I didn't stay true to the question, as I used pixels, I used cuboids instead of cars, and I used just 2 lines instead of a road. Below is the Formula and Explanation of it : Z T = –––––– X+Y 100 100 Ex: T = ––––– = ––––– ≈ 6.67 seconds 5+10 15 (Explanation in notes)
Imagine that: >You have two cubes moving towards each other. >Each cube has a side length of Z. >They start some distance apart. >One moves left at speed X, and the other moves right at speed Y. >T is the amount of time in seconds. What are we trying to find? How long can a vertical line stay touching both cubes at the same time? The key idea: >The line can only touch both when the cubes are close enough together. >As they move toward each other, the distance between them gets smaller. >The time it takes for the cubes to get close enough so that a line can touch both depends on: >How fast they move towards each other ( X+Y ). >The size of the cubes ( Z ) How do we find that time? >Think of the side length Z as how close they need to be for the line to touch both. >The combined speed at which they approach each other is X+Y The simple formula: The length of both cubes : Z T = ––––––––––––––––––––––––––– Approaching Speed : X + Y What does this mean? The time the line can touch both cubes is just how long it takes for the cubes to close the gap equal to their size ( Z ), moving towards each other at combined speed ( X + Y ) (I had to use AI, I can't explain complicated maths and still in middle school/upper elementary) This was inspired by a random though I had at school (^‿^)