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
Problem Solving Examples 121
Example 5.4 Finding Square Root with a Cheap Calculator
The final example in this chapter is to illustrate the use of divide and conquer strategy
in solving a problem. Suppose we have a cheap calculator that has only four basic arith-
metic functions: addition, subtraction, multiplication, and division. However, we need
to calculate the square root of a number greater than one, let us say N. We will now see
how we can find the square root of a number with such a cheap calculator.
Let us begin by first noting what we know about this problem in general. For example,
we know that if R is the square root of a number N,
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