Submitted by Mikinak77 t3_zy5yuj in explainlikeimfive
FearlessFaa t1_j24vms7 wrote
Reply to comment by cthulhu944 in ELI5 How do calculators get the square root of random numbers? by Mikinak77
I think to the question it is unrelevant how physical calculators do it since physical calculators are not used much anymore. We are interested how to calculate square root i.e. different algorithms (=methods) used to calculate square root. It’s unrelevant what specific method calculators use.
cthulhu944 t1_j2a8kps wrote
Maybe I should clarify my point then. Taylor series is the way pretty much every system (calculator, computer, cell phone, etc) computes a square root. You can look into the c stadard library and find the the sqrt funtion is implemented with a taylor series. This is because it is computationally efficient and provides a predictable level of accuracy. The estimation algorithm that every other person on this thread has mentioned is really only used by people wanting to do a manual computation, or as an exercise in an introductory computer science class.
FearlessFaa t1_j2agxgm wrote
Thanks for you answer!
Viewing a single comment thread. View all comments