Question: phyton 3.6 bit 32 Objective: Write a program that makes use of the topics covered in the course to solve a problem. Problem: Using python,
phyton 3.6 bit 32

Objective: Write a program that makes use of the topics covered in the course to solve a problem. Problem: Using python, write a program that will simulate a special physics demonstration Imaging a number of wooden matches are arranged upright on a grid. The matches are positioned at the same level and at integer location (inches) on an X-Y grid. A special laser is placed at the origin that projects a fan of laser light onto the field of matches. Consider "L: as the laser position and as the matches, from above: From the side a row looks like: L o o o o When the laser fires, it will ignite the matches that it can "see", with some of the matches blocking the view from to the matches behind them. For example, along a given line, only the first match will ignite. 0 03 0 Lit Unlit Unlit Unlit We would like to know which (or how many) matches in the field are ignited and which (or how many) are not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
