Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/09/04 15:40
Read: times


 
#82833 - Calculating Square Roots
Responding to: ???'s previous message
Hi Prahlad,

You might try this, from page 921 of "Numerical Recipes in C," 2nd Edition (Cambridge University Press).

U_(i+1) = 0.5 * U_i * (3 - V * [U_i]^2)

It says that U_{inf} converges quadratically to V^(-0.5), (the reciprocal of the square root of V), so that a final multiplication by V will yield V^0.5 (the square root of V).

The point is that if it converges quadratically, that should be pretty fast.

Good luck.

List of 25 messages in thread
TopicAuthorDate
rms value of thyristorised sine wave            01/01/70 00:00      
   thyristorised            01/01/70 00:00      
   rms value of thyristorised sine wave            01/01/70 00:00      
      Calculating RMS            01/01/70 00:00      
   Calculating RMS            01/01/70 00:00      
      Calculating RMS            01/01/70 00:00      
         possible in assembly            01/01/70 00:00      
            re: possible in assembly            01/01/70 00:00      
               Mistake in logic            01/01/70 00:00      
                  Mistake in logic            01/01/70 00:00      
                     ?            01/01/70 00:00      
                        ?????????????            01/01/70 00:00      
                           Fixed Point            01/01/70 00:00      
               Answer is wrong            01/01/70 00:00      
                  Answer is wrong            01/01/70 00:00      
                     Difficult; Laborious - not impossible            01/01/70 00:00      
         Calculating RMS            01/01/70 00:00      
      Russell can you send the file please            01/01/70 00:00      
         Calculating Square Roots            01/01/70 00:00      
         The book was paper!            01/01/70 00:00      
         Russell can you send the file please            01/01/70 00:00      
            It is supposed to            01/01/70 00:00      
               Good Reply            01/01/70 00:00      
                  Thank you            01/01/70 00:00      
   RMS Calculations            01/01/70 00:00      

Back to Subject List