>>>>Mine is the "you know the range the value has to fall in so divide the range in two until you get it" type of solution. Though Newton did it better than me.
>>>
>>>So, how many iterations does yours take to get SQRT(2) accurate to 15 digits? :) Newton's only took about 8 or 9, I think.
>>
>>Mine takes 51 to get it to 15 digits. Ack! Dividing the interval in half is pretty crude I will admit.
>
>Oh well, what's a few milleseconds between friends? :)
True. I had to put in a WAIT command so I could count.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement