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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/07/05 08:06
Read: times


 
#96759 - calculating square roots
Responding to: ???'s previous message

This was discussed:

http://www.8052.com/forum/read.phtml?id=82754

Or you can simply use a lookup table if you've got some code space. You only need to have a small range of input values as you have a fair idea of the expected voltages you expect to measure so your table can be quite compact - maybe smaller than the code needed to calculate the square root!

You want sample code for this??? Errr, I think we'll leave that as an exercise for the person asking the question!



List of 10 messages in thread
TopicAuthorDate
Phase voltage to Line voltage            01/01/70 00:00      
   why is it difficult?            01/01/70 00:00      
   cos(60)            01/01/70 00:00      
      square root            01/01/70 00:00      
   try the code library            01/01/70 00:00      
      Hello Jez            01/01/70 00:00      
   square root by newtons method            01/01/70 00:00      
      Inital guess = B/2            01/01/70 00:00      
   Pell's method            01/01/70 00:00      
      calculating square roots            01/01/70 00:00      

Back to Subject List