Questions
In C++ In this assignment, we will implement a square root approximater and then an nth...

In C++

In this assignment, we will implement a square root approximater and then an nth root approximater. Recall that the nth root of x is the number when raised to the power n gives x. We can use the concepts of binary search to approximate the square root of a number, and we can continue this logic to approximate the nth square root. We're going to use the concepts of binary search to try and approximate ending the square root and ending the nth root.

You may not use any library functions for these question, except DecimalFormat.

Commenting your code is a graded requirement. You must detail each operation, loop, conditional statement and function with the desired outputs given input ranges, as well as state its purpose.

In: Computer Science

A local restauranteur who had been running a profitable business for many years recently purchased a...

A local restauranteur who had been running a profitable business for many years recently purchased a three-way liquor license. This license gives the owner the legal right to sell, beer, wine, and spirits in her restaurant. The cost of obtaining the three way license was about $90,000 since only 300 such licenses were issued by the state. While the license is transferable, only $75,000 is refundable if the owner chooses not to use the license. After selling alcoholic beverages for one year, the restauranteur came to the realization that she was losing dinner customer and that her profitable restaurant was turning into a noisy, unprofitable bar. Subsequently, she spent about $8,000 placing advertisements in various newspapers and restaurant magazines across the state offering to sell the license for $80,000. After a long wait, she finally received one offer to purchase her license for $77,000.

(a) Was her decision to advertise and ask for $80,000 a good decision, given that she could have decided to not use the license (essentially return the license to the state) and get a refund of $75,000? Please explain.

(b) Should she accept the offer of $77,000 for her license? Please explain.

In: Economics

If you cut your arm badly and lost a lot of blood, what local process(es) would...

If you cut your arm badly and lost a lot of blood, what local process(es) would take place at the site of the injury to stop the bleeding. Explain the three phases of this process.

In the same situation as the question above, how would your body replace the red blood cells that you lost? Provide 3 relevant pieces of information to obtain

In: Anatomy and Physiology

Would you recommend either debt or equity investment? Explain your answer in detail.

Would you recommend either debt or equity investment? Explain your answer in detail.

In: Finance

Explain in detail Multilevel Structural Equations Modelling. Discuss your answer in 1000 words

Explain in detail Multilevel Structural Equations Modelling. Discuss your answer in 1000 words

In: Advanced Math

What are a fixed exchange rate and a floating exchange rate? Please explain in eextensive detail...

What are a fixed exchange rate and a floating exchange rate? Please explain in eextensive detail and provide and example for both detail. So I may understand thoroughly.

In: Finance

Warranties Focus plc offers a twelve month warranty on certain goods that it sells. The warranty...

Warranties

Focus plc offers a twelve month warranty on certain goods that it sells. The warranty is paid for at the time the sale is made and included in the Sales Revenues account. The full warranty is valued at 10% of the original sale price of the item and about half of the warranty cover has elapsed by the year end. The total on the Sales Revenue account at the year end stands at £10m.

The accountant proposes putting the full £10m in the Statement of Profit or Loss as revenues for 20X6.

State whether you agree with the accountant’s proposal regarding the matter mentioned above. You should explain your reasons for agreeing or disagreeing and explain any alternative treatments that you believe the accountant should use.

In: Accounting

(a) Have you ever visited an amusement park and taken a ride on a parachute drop...

(a) Have you ever visited an amusement park and taken a ride on a parachute drop ride? These types of rides take the passengers to a great height, and then drop them in free fall. Before they hit the ground, the ride is slowed using a Lenz’s law mechanism thus avoiding certain death. For this discussion, first locate a photo of one of these rides (either one you’ve personally experienced or one you might like to try someday), and in your initial post, upload the photo and respond to the following:

  • Explain how Lenz’s law applies to this situation.
  • Why is the Lenz’s law mechanism ideal for such a use?
  • What other mechanisms can be used to slow the descent? Compare and contrast these options with the Lenz’s law mechanism.

(b) As you have learned, an electromagnet is a magnet that is produced by electric current. Think about how electromagnets are used and what you have seen or heard of them being used for. In your initial discussion post, respond to the following:

  • Which of the principles or laws discussed in this module explain how an electromagnet works?
  • Describe in detail two modern applications of electromagnets. Do these electromagnets draw a large amount of current or a little? How do you know? What supplies that current?
  • Why do you think electromagnets are used in these different ways?
  • What is the advantage of using an electromagnet rather than a permanent magnet?

In: Physics

Sneaker 2013 1- Summarize the problem and discuss the decision faced by the firm 2- Which...

Sneaker 2013

1- Summarize the problem and discuss the decision faced by the firm

2- Which project do you think is riskier? How do you think you should incorporate differences in risk into your analysis?

4- What is your final recommendation? Explain in detail

In: Finance

Using the dataset below, test to see if there is a significant association between size of...

Using the dataset below, test to see if there is a significant association between size of the houses sold and the state where they are sold

(a) State what test statistic would you use, calculate the test statistic, and the p-value and your conclusions

(b) Does the data set meet all the conditions for the testing? Please explain Note: Calculate test statistic by hand or load StatKey Chi-Sq Test for Association and use the Homes For Sale (Size by State) data set CA NJ NY PA Total Big 7 6 7 3 23 Not 23 24 23 27 97 Total 30 30 30 30 120

In: Statistics and Probability