Question: Python 4. On slide 18 of the file MIT6_0001F16_Lec3, we discussed about the bisection search algorithm (or pseudo code) that computes the exact cube root

Python

4. On slide 18 of the file MIT6_0001F16_Lec3, we discussed about the bisection search algorithm (or pseudo code) that computes the exact cube root of the following numbers:

a) -380

b) -147

c) 261

Python 4. On slide 18 of the file MIT6_0001F16_Lec3, we discussed about

BISECTION SEARCH - cube root cube = 27 epsilon = 0.01 num_guesses = 0 low = 0 high = cube guess = (high + low)/2.0 while abs (guess**3 - cube) >= epsilon: if guess**3 = epsilon: if guess**3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!