1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jek_recluse [69]
3 years ago
15

Again, suppose that n and r denote integer values where r > 0 and n ≥ 0. What are two "simple" values, say lowEnough and tooH

igh, such that lowEnough ≤ ⌊n√r⌋⌊nr⌋ < tooHigh. Explain based on your answer to the previous question.
Suppose you would like to know ⌊47226−−−−−√5⌋⌊472265⌋. Explain how you could find ⌊47226−−−−−√5⌋⌊472265⌋ using a guess and verify method. Note: Explain your answer by relating this problem to the number guessing game described earlier. Think about what would be an appropriate question to use in place of "Is secret_number < guess_number?" and think about good choices for the starting values of lowEnough and tooHigh.
Computers and Technology
1 answer:
enyata [817]3 years ago
6 0

Answer:

Answer explained

Explanation:

From the previous question we know that while searching for n^(1/r) we don't have to look for guesses less than 0 and greater than n. Because for less than 0 it will be an imaginary number and for rth root of a non negative number can never be greater than itself. Hence lowEnough = 0 and tooHigh = n.

we need to find 5th root of 47226. The computation of root is costlier than computing power of a number. Therefore, we will look for a number whose 5th power is 47226. lowEnough = 0 and tooHigh = 47226 + 1. Question that should be asked on each step would be "Is 5th power of number < 47227?" we will stop when we find a number whose 5th power is 47226.

You might be interested in
What is the Best decent priced Laptop/PC
luda_lava [24]

I'm on a brand new Lenovo and it was only like $500. Its great, especially if you are looking for a gaming Laptop. Otherwise, HP and Lenovo's older stuff is fairly decent in price

6 0
3 years ago
_________ involves encouraging employees to engage in behaviors directly related to goal accomplishment.
lianna [129]
Planning involves encouraging employees to engage in behaviors directly related to a goal accomplishment. It is the best way to have excellent performance because it motivates the employees to work harder. Planning involves goal setting, objectives, and determining the course of action to achieve the goal.
5 0
4 years ago
What is the difference between autofocus and autocomplete
Vladimir [108]

Answer:

https://www.c-sharpcorner.com/interview-question/explain-autofocus-and-autocomplete-attribute

found this on a website hope you find it useful !

8 0
3 years ago
1. “Paraan nga dyan, Liza!"<br> A.tae<br> B.utit<br> C.pwet
mariarad [96]

Answer:

B

Explanation:

3 0
3 years ago
Which programming language uses mnemonic code to represent data, instructions, and memory locations?
Mars2501 [29]

Answer:

B. Assembly Language

Explanation:

Assembly language is the first language that used English like words for representing data, instruction and memory locations. The English-like words are called Mnemonics.

Assembly language uses translator to translate the code into machine language. The translator is called assembler.

The mnemonics examples are:

ADD

SUB

DIV

MUL ..

4 0
3 years ago
Read 2 more answers
Other questions:
  • What is the name of the computer through which e-mail messages are sent and received?
    12·1 answer
  • PLEASE HELP
    8·2 answers
  • While reviewing some web page code, you notice that the html is written in all lowercase letters. you are not sure which version
    14·1 answer
  • The Internet Engineering Task Force (IETF) defines the protocols and standards for how the Internet works. The members of the IE
    12·1 answer
  • Which devices are most likely to communicate with the internet? Select 3 options.
    13·1 answer
  • Select three advantages of cloud computing.
    10·1 answer
  • What happens to the files and folders on the desktop when the computer is turn off
    7·1 answer
  • What are the three benefits of incremental development, compared to the waterfall<br> model?
    14·1 answer
  • Get ready to be the Quizmaster! You are going to design your own Python game show in the style of a quiz.
    13·1 answer
  • What are the four components of security documentation?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!