shay.co blog

Currently viewing the tag:

**"C#"**## Newton’s Method

*By Shay Ben Moshe On June 29, 2011 · 2 Comments · In Algorithms*

Newton’s method is a method for finding approximations to the roots of a given function.

The method itself is very simple, you give an initial guess of the root, \(x_0\), and calculate further values using the following equation: \(x_{n+1}=x_n-\frac{f’(x_n)}{f(x_n)}\).

Generally, each term in the sequence is more accurate in comparison to the previous terms.

[...]

## Square Root Algorithm

*By Shay Ben Moshe On May 22, 2011 · 3 Comments · In Algorithms*

A few days ago I thought of an algorithm to calculate square roots. In this article I would like to introduce my algorithm.

I should mention that this algorithm probably exists.

First of all, my algorithm can only find roots between a specific range (for example \(0\) to \(1\)), thus we need to decrease [...]

### Recent Comments

- Ramona W on Password Entropy
- Thomas on Newton’s Method
- liggywoth on Password Entropy
- liggywoth on Password Entropy
- Stephen Long on Password Entropy

### Categories