Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Is faster better?: Consider the map x 1 - > 0 . 3 7 5 * x 1 + 1 . 5 / x 1

Is faster better?: Consider the map
x1->0.375*x1+1.5/x1-0.5/(x1*x1*x1).
Iterate this map (derived by Alkalsadi around 1450AD) with the starting value 2.0 until 14 digits settle down. How many iterations are required? Now, count the number of all the additions, subtractions, multiplications and divisions you have made to obtain your approximation to sqrt(2).
Next do the same with Newton's method using x1->0.5*(x1+2.0/x1).
Which method requires fewer number of iterations?
Which method requires fewer number of arithmetical operations to compute sqrt(2) to the same precision?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

=+What do you wish you had known when you were starting out?

Answered: 1 week ago