HomeTom - CS
Showing posts with label
numerical computation
.
Show all posts
Showing posts with label
numerical computation
.
Show all posts
Friday, April 9, 2010
Newton Ralphson's method to calculate square root
x^2 = n, need to find x.
f(x) = x^2 - n.
x_{n+1} = x_{n} - f(x_{n}) / f ' (x_{n}).
See the following graph for intuition.
Note that the slope of the tangent line is f ' (x_{n}) = f(x_{n}) / {x_{n+1} - x_{n}}.
Older Posts
Home
View mobile version
Subscribe to:
Posts (Atom)
Blog Archive
▼
2026
(36)
▼
June
(19)
C10K to C10M: from thread-per-connection model to ...
Benchmark server performance
Application server for php, python, java, node.js,...
Application server for C++, Go and Rust
Nginx as reverse proxy and load balancer
Infrastructure running: nginx, apache, php, python...
Flow chart of nginx+apache+uvcorn infrastructure
Flow chart of apache+uvcorn infrastructure
Uvicorn and Gunicorn
What's deadsnakes PPA
What's the optional lsb-core package
Codex known logging bug
Daemonsize a service
Train text to image model, to generate images of c...
Train a model based on OpenAI API
Open port 8080 for WebSocket
Add websocket support on Bluehost Ubuntu VPS for D...
Install Claude Code on ubuntu VPS of Bluehost
Install PostgreSQL on Mac
►
April
(8)
►
February
(9)
►
2025
(1)
►
December
(1)
►
2019
(1)
►
April
(1)
►
2018
(1)
►
May
(1)
►
2017
(2)
►
April
(2)
►
2016
(5)
►
July
(1)
►
May
(1)
►
February
(2)
►
January
(1)
►
2015
(53)
►
October
(1)
►
September
(7)
►
August
(8)
►
July
(6)
►
June
(1)
►
May
(6)
►
April
(11)
►
March
(10)
►
February
(2)
►
January
(1)
►
2014
(64)
►
November
(4)
►
October
(4)
►
September
(1)
►
August
(4)
►
July
(23)
►
June
(17)
►
May
(2)
►
March
(3)
►
February
(3)
►
January
(3)
►
2013
(27)
►
December
(3)
►
October
(1)
►
August
(3)
►
July
(10)
►
June
(4)
►
March
(5)
►
February
(1)
►
2012
(43)
►
December
(2)
►
November
(5)
►
October
(2)
►
September
(2)
►
August
(5)
►
July
(6)
►
May
(5)
►
April
(5)
►
March
(7)
►
February
(2)
►
January
(2)
►
2011
(60)
►
November
(8)
►
October
(3)
►
September
(6)
►
August
(5)
►
July
(8)
►
June
(9)
►
May
(10)
►
April
(3)
►
February
(3)
►
January
(5)
►
2010
(66)
►
December
(8)
►
November
(1)
►
October
(1)
►
September
(1)
►
August
(6)
►
July
(11)
►
June
(6)
►
May
(9)
►
April
(14)
►
March
(4)
►
February
(4)
►
January
(1)
►
2009
(20)
►
December
(5)
►
November
(2)
►
October
(2)
►
September
(3)
►
August
(2)
►
July
(4)
►
April
(2)
►
2008
(8)
►
October
(2)
►
July
(3)
►
June
(2)
►
March
(1)
About Me
Tom
View my complete profile
Followers