Questions
. (This is a version of Programming Project 2.1 from Chapter 2.) The Babylonian algorithm to...

. (This is a version of Programming Project 2.1 from Chapter 2.)

The Babylonian algorithm to compute the square root of a positive number n is as follows: 1. Make a guess at the answer (you can pick n/2 as your initial guess).

2. Compute r = n / guess.

3. Set guess = (guess +r) / 2.

4. Go back to step 2 until the last two guess values are within 1% of each other.

Write a JAVA program that inputs a double for n, iterates through the Babylonian algorithm until the guess is within 1% of the previous guess and outputs the answer as a double to two decimal places. Your answer should be accurate even for large values of n

In: Computer Science

Problem 14-5 Issuer and investor; effective interest; amortization schedule; adjusting entries [LO14-2] On February 1, 2018,...

Problem 14-5 Issuer and investor; effective interest; amortization schedule; adjusting entries [LO14-2]

On February 1, 2018, Cromley Motor Products issued 10% bonds, dated February 1, with a face amount of $60 million. The bonds mature on January 31, 2022 (4 years). The market yield for bonds of similar risk and maturity was 12%. Interest is paid semiannually on July 31 and January 31. Barnwell Industries acquired $60,000 of the bonds as a long-term investment. The fiscal years of both firms end December 31. (FV of $1, PV of $1, FVA of $1, PVA of $1, FVAD of $1 and PVAD of $1) (Use appropriate factor(s) from the tables provided.)

Required:
1. Determine the price of the bonds issued on February 1, 2018.
2-a. Prepare amortization schedules that indicate Cromley’s effective interest expense for each interest period during the term to maturity.
2-b. Prepare amortization schedules that indicate Barnwell’s effective interest revenue for each interest period during the term to maturity.
3. Prepare the journal entries to record the issuance of the bonds by Cromley and Barnwell’s investment on February 1, 2018.
4. Prepare the journal entries by both firms to record all subsequent events related to the bonds through January 31, 2020.

In: Accounting

Need 5 and 6. The working age population of Shepherdlandia is 2000. The number of employed...

Need 5 and 6.

The working age population of Shepherdlandia is 2000.
The number of employed persons in Shepherdlandia is 1050.
The total labor force in Shepherdlandia is 1140.
1. How many people are unemployed? (1 point) _____________ (2 decimal places)

2. What is the unemployment rate? (2 points) ____________ (2 decimal places)
3. What is the labor force participation rate? (2 points) ______________ (2 decimal places)

4. Bob worked for pay last week for a total of 10 hours. He is looking for full-time employment, so he is only
employed 25%. Is Bob counted as employed, unemployed or neither as calculated by the U.S. BLS? (3 points)
5. Due to a recession 10 people, who had been counted as unemployed in the above table, has decided to not
work for the next 9 months while he attends classes at SJR State College. What is the new unemployment rate
in Shepherdlandia that results from their decision? (4 points)
(3 decimal places)
6. In Shepherdlandia (after the 10 people in #5 made their choice), the BLS decides to count the 20 citizens that
are serving in the armed forces on active duty in the working age population. Now, what is the
unemployment rate? (4 points) (3 decimal places)

In: Economics

On January 1, Year 1, Hart Company issued bonds with a face value of $128,000, a...

On January 1, Year 1, Hart Company issued bonds with a face value of $128,000, a stated rate of interest of 12 percent, and a five-year term to maturity. Interest is payable in cash on December 31 of each year. The effective rate of interest was 11 percent at the time the bonds were issued. The bonds sold for $132,731. Hart used the effective interest rate method to amortize the bond premium. (Round your intermediate calculations and final answers to the nearest whole number.)

Required
a. Prepare an amortization table.

Date Cash Payment Interest Expense Premium Amortization Carrying Value
January 1, Year 1 132,731
December 31, Year 1 15,360 14,600 760 131,971
December 31, Year 2 15,360
December 31, Year 3 15,360
December 31, Year 4
December 31, Year 5
Totals 46,080 14,600 760



b. What is the carrying value that would appear on the Year 4 balance sheet?
c. What is the interest expense that would appear on the Year 4 income statement?
d. What is the amount of cash outflow for interest that would appear in the operating activities section of the Year 4 statement of cash flows?

b. Carrying value on the Year 4
c. Interest expense for Year 4
d. Cash outflow for interest in Year 4

In: Accounting

Based on this data set, are the events that the randomly selected first-major-hurricane-of-season is located on...

Based on this data set, are the events that the randomly selected first-major-hurricane-of-season is located on the Atlantic and the event that the selected first-major-hurricane-of-season is in July independent events? On your "scratch paper" use a calculation and explanation to justify the answer you chose. ta on Month of First Hurricane of

Season Water Jun Jul Aug Sep Summary

Atlantic (A) 0 0 6 2 8

Both (B) 0 1 0 0 1

Gulf (G) 2 2 0 0 4

Summary 2 3 6 2 13

In: Statistics and Probability

can explain how solve these #Electromagnetism qusitons ------Q1 Point charges Q1 = 100 µC and Q2...

can explain how solve these #Electromagnetism qusitons

------Q1

Point charges Q1 = 100 µC and Q2 = 0.12 µC are placed at (0.03, 0.08, −0.02) and (−0.03, 0.01, 0.04), respectively. Determine the force on Q1

------Q2

Convert ? = 10?−??? − 3??? from cylindrical to Cartesian and evaluate it at (3, 4, 5).

------Q3

Determine the gradient of ? = cos? + sin? + sin2 ? and evaluate the gradient at (2, π/2, π).

------Q4

For the vector field ? = 24?cos??? + 12?2?? + 18???, verify the divergence theorem over the region defined by 0 ≤ ? ≤ 1, −1 ≤ ? ≤ 2, 0 ≤ ? ≤ 2?.

In: Electrical Engineering

Suppose a stock had an initial price of $32 per share, paid a dividend of $2.44...

Suppose a stock had an initial price of $32 per share, paid a dividend of $2.44 per share during the year, and had an ending share price of $29. Compute the percentage total return. Enter the answer in 4 decimals e.g. 0.1234.

Calculate the arithmetic average of the following returns.

Year Return

1 0.27

2 0.13

3   -0.11

4   -0.09

5 0.08

Enter the answer with 4 decimals, e.g. 0.1234.

In: Finance

Purchasing agent Angela Rodriguez reported the number of sales calls she received from suppliers on each...

Purchasing agent Angela Rodriguez reported the number of sales calls she received from suppliers on each of the past 14 days. Compute the variance for her daily calls during the 14-day period. Treat the data as a sample.

Calls

(x)

Number of days

f(x)

4

1

5

3

6

4

7

4

8

2

a. 1.88

b. 1.14

c. 1.67

d. .78

e. 1.31

In: Math

A random variable X is exponentially distributed with an expected value of 50. a-1. What is...

A random variable X is exponentially distributed with an expected value of 50.

a-1. What is the rate parameter λ? (Round your answer to 3 decimal places.)


a-2. What is the standard deviation of X?


b. Compute P(44 ≤ X ≤ 56). (Round intermediate calculations to at least 4 decimal places and final answer to 4 decimal places.)


c. Compute P(36 ≤ X ≤ 64). (Round intermediate calculations to at least 4 decimal places and final answer to 4 decimal places.)

In: Statistics and Probability

A poll is taken in which 265 out of 1000 randomly selected voters indicated their preference...

A poll is taken in which 265 out of 1000 randomly selected voters indicated their preference for a certain candidate. Find a 90% confidence interval. Remember σpˆ = ?pˆ(1−pˆ)

(a)

[4 pts] Find Zα/2:

(b)

[4 pts] Find the confidence interval:

(c)

[4 pts] Find the margin of error:

(d)

[4 pts] Without doing any calculations, indicate whether the margin of error is larger or smaller or the same for a 95% confidence interval. Why you think so?

In: Statistics and Probability