Answer:
180 sec
Explanation:
- Green light bulb: 12 seconds
- Yellow light bulb: 18 seconds
- Red light bulb: 20 seconds
To find the time until all three bulbs light up together, we need to calculate the least common multiple (LCM) of these three numbers.
Prime factorization of each number
12 → 2 × 2 × 3 → 2² × 3
18 → 2 × 3 × 3 → 2 × 3²
20 → 2 × 2 × 5 → 2² × 5
- Now, we can determine the LCM by taking the highest power of each prime factor that appears in any of the numbers:
LCM = 2² × 3² × 5 = 4 × 9 × 5 = 180
Therefore, it will take 180 seconds for all three light bulbs to light up together.