Example_-_iterative_solution_for_SQRT_x_

Example_-_iterative_solution_for_SQRT_x_ - y/y0 <<1...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Example - Iterative Method to find SQRT (X) Example - find SQRT (150) x = 150 12 i 0 0.25 12 1 0 12.25 2 0 12.25 3 0 12.25 4 0 12.25 5 0 12.25 Let y 0 = y Δ i y i Let y = y 0 + y = SQRT(x), y0 = initial estimate of SQRT (x) Δ Square both sides and assume
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: y/y0 <<1 (i.e., y^2 <<<1) Δ Δ Solve to obtain y = (x - y Δ ^2)/(2*y ) Then y 1 = y + y Δ Repeat until y < some small value Δ...
View Full Document

This note was uploaded on 05/04/2010 for the course CEE 291 taught by Professor Hoopes during the Spring '10 term at University of Wisconsin.

Ask a homework question - tutors are online