Escolar Documentos
Profissional Documentos
Cultura Documentos
In this episode, a series of bank robberies have occurred, none of them violent. After Charlie helps figure out where the next robbery will occur, however, the robbers open fire and kill an agent. By intervening, the FBI has changed the methods of the robbers and revealed an even more dubious plot.
What is P vs NP?
The P vs NP problem is a problem from the field of logic (or theoretical computer science). Suppose we have a problem we want a computer to solve. For example, we want a computer to find a solution to the Travelling Salesman problem. Suppose a salesman needs to travel to 50 cities across the globe. We know how much the flights cost between each city and the salesman wants to spend as little as possible flying. This clearly has a solution as there are "only" 50*49*48*....3*2*1
PDFmyURL.com
different paths to choose from. No one wants to do this out by hand, so we want to program the computer to do it. But how long will it take? This question is formulated in the following way: suppose that we have n locations for the problem. Is there an algorithm which requires O(f(n)) steps? Here the big-O notation means that for all sufficiently large values of n, the number of steps required by our algorithm will be smaller than our function f(n). In general, we say that a problem is in an f-complexity class if there is an algorithm which solves the problem in O(f(n)) steps. The P-complexity class consists of all YES/NO problems which are solvable in polynomial time. That is P consists of the set of problems for which there exists an algorithm which can check a possible solution to the problem in O(f(n)) for some polynomial f(n). We say that P consists of problems for which there is a polynomial time algorithm for checking solutions. The NP-complexity class is somewhat more complicated. Basically, though, the NP-class consists of problems for which there is a polynomial time algorithm for f inding solutions. The P vs NP problem aks if P and NP are actually equal. If the algorithm needed to verif y a solut ion of a problem is in polynomial time, is there an algorithm which solves the problem of f inding a solut ion in polynomial time? It seems like a somewhat silly question at first since solving a problem and verifying a solution are almost the same thing to a computer, but it is the one of the biggest open mathematical problems in the world. The Clay Mathematics Institute has offered $1,000,000 prize to anyone who can give a positive or negative answer to whether P = NP. The astute viewer noticed that Charlie says Minesweeper is NP-complete. It is unclear what Charlie means by this since it has very little bearing on solving the P vs NP problem. The NP-complete problems represent a narrow subclass of NP problems which might not be P. In essence, NP-complete are the hardest NP problems. Richard Kaye proved Minesweeper is NP-complete in the Mathematics Intelligencer. One can visit his webpage on the mathematics of Minesweeper for more information. The Travelling Salesman problem is also NP-complete.
Statistically dead?
At one point Charlie says to Don that he is statistically dead. Having already been fired upon, Charlie implies that Don is less likely to survive a second attempt. It is probably true that a person who survives being fired upon once are more likely than the average person to be killed in a gun fight during their lifetime. After all, someone who is in a gunfight once is more likely to be in a subsequent gun fight since this set of people includes police officers, military personell, mercenaries, gang bangers, and so on. Is the real implication Charlie is making correct? Specifically, is his brother is more likely to die from a gunshot wound having already been in a gunfight?
PDFmyURL.com