Skip to Main Content
Computing with Excel and VBA
book

Computing with Excel and VBA

by S.I. Krishan
August 2008
Beginner to intermediate content levelBeginner to intermediate
298 pages
10h 49m
English
Jones & Bartlett Learning
Content preview from Computing with Excel and VBA
Chapter 5 Computing as Problem Solving106
Many of you will recall the above expression as factorial (N ), written as N!. We must
divide this number by 2 because of the tour pairs that mirror each other as we saw
earlier. Therefore, the formula for the distinct number of tours is given by N!/2. Table
5.3
shows how the number of distinct tours grows with N up to 10 cities.
Looking at Table 5.3 you can note that the number of possible tours grows very quickly
as we consider visiting more and more cities. The pattern of growth in the number of
tours in Table 5.3 is called the exponential growth. Such a growth in the number of
possibilities make
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel Programming with VBA Starter

Excel Programming with VBA Starter

Robert F Martin
Programming Excel with VBA and .NET

Programming Excel with VBA and .NET

Jeff Webb, Steve Saunders

Publisher Resources

ISBN: 9780763756680