How to represent cube root of `N
Answers
Answered by
1
Answer:
1.Initialize start = 0 and end = n.
2.Calculate mid = (start + end)/2.
3.Check if the absolute value of (n – mid*mid*mid) < e. ...
4.If (mid*mid*mid)>n then set end=mid.
5.If (mid*mid*mid)<n set start=mid
Answered by
1
Step-by-step explanation:
•Initialize start = 0 and end = n.
•Calculate mid = (start + end)/2.
•Check if the absolute value of (n – mid*mid*mid) < e. ...
•If (mid*mid*mid)>n then set end=mid.
•If (mid*mid*mid)<n set start=mid.
Similar questions