Question: 8. Write an algorithm, so that given any positive integer n, the algorithm outputs the integer part of the positive real number x such that

8. Write an algorithm, so that given any positive integer n, the algorithm outputs the integer part of the positive real number x such that x3+100x = n. Besides assignment and comparison, your algorithm may only use the four basic arithmetical operations, namely addition/subtraction/multiplication/division. For example, when n = 50000, the equation x3+100x = 50000 has a positive real number solution x=35.9357.... In this case the algorithm should output 35
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
