Introduction
Why Approximations Matter

Irrational square roots show up more often than we might expect. Cutting a diagonal brace for a bookshelf, figuring out a television's screen size from its width and height, or checking a distance on a map can all involve a square root that does not come out to a neat whole number. Since irrational decimals never terminate or repeat, we cannot write them out exactly. What we can do is find a rational decimal that is close enough for the job at hand.

Three everyday scenarios where irrational square roots arise: a diagonal bookshelf brace, a TV screen measurement, and a map distance

The key question is always: how close is close enough? Sometimes rounding to the nearest whole number is fine. Other times we need accuracy to a tenth or a hundredth. Trial squaring gives us a systematic way to reach whatever precision we choose.

Recalling Integer Bounds
Narrowing to the Nearest Tenth
The Midpoint Test
Pushing to Hundredths Precision
Complete Walkthrough
Common Pitfalls
Conclusion and Next Steps

In this lesson, we learned how to take an irrational square root and systematically zero in on its value using trial squaring. The method follows a simple, repeatable cycle: identify the interval, test candidates by squaring, find the two consecutive values that trap the target, then apply the midpoint test to determine which endpoint is closer. We can repeat this cycle to reach tenths, hundredths, or any finer precision the situation calls for.

Now it is time to put this technique to work! In the upcoming practice exercises, you will complete a guided trial-squaring sequence, produce your own tenth- and hundredth-precision approximations from scratch, and apply the method to a real-world scenario involving a room diagonal. Let's get squaring!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal