Write a c++ program that prompts the user for a number

Assignment Help Basic Computer Science
Reference no: EM131400348

(Numerical) Given a number, n, and an approximation for its square root, a closer approximation to the actual square root can be obtained by using this formula:

1685_13b2a392-9654-4dcc-9c66-bd7b6c1b11ab.png

Using this information, write a C++ program that prompts the user for a number and an initial guess at its square root. Using this input data, your program should calculate an approximation to the square root that's accurate to 0.00001.

Reference no: EM131400348

Questions Cloud

Define the type of damages the plaintiffs are claiming : Was this a criminal or civil case? Define the "tort" involved and explain the details of the case that led you to your conclusion. Define the type of damages the plaintiffs are claiming
Determine the probability that for a randomly chosen day : Suppose the daily amount of solar radiation in Los Angeles is normally distributed with mean 450 calories and standard deviation 50. Determine the probability that for a randomly chosen day, the amount of solar radiation is between 350 and 550.
What is the probability of observing an income : A large computer company claims that their salaries are normally distributed with mean $50,000 and standard deviation 10,000. What is the probability of observing an income between $40,000 and $60,000?
Determine the probability of observing an income : Assume that the income of pediatricians is normally distributed with mean μ =$100,000 and standard deviation σ = 10,000. Determine the probability of observing an income between $85,000 and $115,000.
Write a c++ program that prompts the user for a number : Using this information, write a C++ program that prompts the user for a number and an initial guess at its square root. Using this input data, your program should calculate an approximation to the square root that's accurate to 0.00001.
Determine the probability of a randomly selected battery : A manufacturer of car batteries claims that the life of their batteries is normally distributed with mean μ = 58 months and standard deviation σ = 3. Determine the probability that a randomly selected battery will last at least 62 months.
Discuss the capability maturity model integration : After watching the videos below and reading about the Balanced Scorecard in Chapter 12, compare and contrast the Balanced Scorecard to one of the IT frameworks below (COBIT, ITIL, TOGAF, CMMI-Dev). Describe the context in which the Balanced Scorec..
Determine the octal value of a mask : Determine the octal value of a mask that can be inclusively ORed with the bit pattern in flag to reproduce the third and fourth bits of flag and set all other bits to 1. Again, the rightmost bit in flag is considered bit 0.
What is a confidence interval for the average bounce : Experience has shown that the standard deviation of the bounce is .30. If X = 1.70, and assuming normality, what is a .90 confidence interval for the average bounce?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd