Question: 1 ) Use the find _ root function in Figure 4 - 3 to print the sum of approximations to the square root of 2

1) Use the find_root function in Figure 4-3 to print the sum of approximations to the square root of 25, the cube root of -8, and the fourth root of 16. Use 0.001 as epsilon.
2) Write a function is_in that accepts two strings as arguments and returns True if either string occurs anywhere in the other, and False otherwise.
Hint: you might want to use the built-in str operator in.
3) Write a function to test is_in.

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!