Using C language, and describe the algorithm
design
All the sample is correct
Tim was born in a leap year, so he would like to know when he could have his birthday party. Could you tell him? Given a positive integers Y indicating the starting year, and a positive integer N, your task is to tell the N-th leap year from year Y. Note: if year Y is a leap year, then the 1st leap year is year Y.
The input contains several test cases. The first line of the input is a single integer T which is the number of test cases. T test cases follow. Each test case contains two positive integers Y and N(1<=N<=10000). For each test case, you should output the Nth leap year from year Y.
3
2005 25
1855 12
2004 10000
2108
1904
43236
In: Computer Science
One-year T-bill rates are 3% currently. If interest rates are expected to go up 3% after year 4 every year and after, what should be the required interest rate on a 10-year bond issued today?
In: Finance
A 50-year annuity with an annual interest rate of 8%. In the first 20 years, $1000 was deposited at the beginning of each year, and in the next 30 years, $1400 was deposited at the beginning of each year. Calculate the value of this annuity at the end of the 40th year.
In: Finance
Question text
Find the PV of an annuity, which starts at $1 per year (payable at the end of the year) and increases by $1 per year to a value of $15, then decreases by $1 per year to the final payment of $1. Assume i = 0.07
In: Finance
In tropical regions less energy is emitted by the earth as infrared radiation than is absorbed as solar radiation averaged over the year. Explain briefly why tropical regions do not continually get warmer year after year after year.
In: Other
Looking Good Co. has identified an investment project with the following cash flows. Year 1 $1000, Year 2 $200, Year 3 $800 and Year 4 $1500. If the discount rate is 12%, what is the present value of these cashflows?
In: Finance
|
Kopperud Electronics has an investment opportunity to produce a new HDTV. The required investment on January 1 of this year is $215 million. The firm will depreciate the investment to zero using the straight-line method over four years. The investment has no resale value after completion of the project. The firm has a 25 percent tax rate. The price of the product will be $575 per unit, in real terms, and will not change over the life of the project. Labor costs for Year 1 will be $16.70 per hour, in real terms, and will increase at 3 percent per year in real terms. Energy costs for Year 1 will be $4.90 per physical unit, in real terms, and will increase at 4 percent per year in real terms. The inflation rate is 6 percent per year. Revenues are received and costs are paid at year-end. Refer to the following table for the production schedule: |
| Year 1 | Year 2 | Year 3 | Year 4 | |||||
| Physical production, in units | 185,000 | 205,000 | 220,000 | 175,000 | ||||
| Labor input, in hours | 1,320,000 | 1,600,000 | 1,380,000 | 1,300,000 | ||||
| Energy input, physical units | 230,000 | 245,000 | 275,000 | 260,000 | ||||
| The real discount rate for the project is 6 percent. |
|
Calculate the NPV of this project. |
In: Finance
Introduction to finance
Answer questions A-D
Question A
Alphabet Inc. will not pay it's first dividend until ten years from now. The first dividend received in 10 years (Year 10) is expected to be $120. Dividends are expected to grow at 4% forever after this first dividend payment. The required rate of return for similar stocks is 15%. What is the current value of Alphabet, Inc. stock?
Question B
Snoke Inc's will pay a dividend of $10 next year. The required rate of return is 10% and dividends are expected to grow 5% after next year. What will Snoke's dividend be in 100 years? (Year 100)?
Question C
Snoke Inc's will pay a dividend of $10 next year. The required rate of return is 10% and dividends are expected to grow 5% after next year. What is Snoke's estimated stock price at the end of Year 99? (Hint use Year 100 dividend)
Question D
Snoke Inc's will pay a dividend of $10 next year. The required rate of return is 10% and dividends are expected to grow 5% after next year. What is Snoke's estimated stock price as of today (Year 0 Estimated Price of Stock)?
In: Finance
Question 1) In 2017, Angie placed in service $4,000 of 5-year property and $6,000 of 7 year property. What is the effect of an election to use straight line depreciation over the alternative depreciation system life for the 5 year property for 2017?
A. the election must cover 5 year and 7 year property placed in
service in 2017 and future years.
B. the election must cover the 5 year and 7 year property.
C. the election will apply to the 5 year property placed in service
in 2017 and future years.
D. the election will apply to the 5 year property placed in service
in 2017.
Question 2) In 1998, a taxpayer places into service an asset costing $6,000 with a 3-year recovery period for regular tax purposes and a 4 year alternative depreciation system recovery period for alternative minimum tax purposes. For regular tax purposes, 200% declining balance depreciation is selected. What is the greatest amount of depreciation allowed for alternative minimum taxable income in 1998?
A. $1,125
B. $1,500
C. $2,000
D. $2,250
Note: This was all the information provided in the questions. I removed the 3rd question because I figured it out.
In: Accounting
Weihu Corporation is considering building a new factory to manufacture bicycles. Weihu has already spent 300,000 in the R&D expense. The new factory will cost $1,500,000. The expected number of bikes produced and sold is 4000 for the first year, 5000 for the second year and 5500 for the third year. The sales price is $250 per bike in the first year in nominal terms. This price is expected to grow at 3% per year in real terms. The variable costs per bike are $120 in the first year in nominal terms. These costs are expected to increase at 2.5% per year in real terms. The factory requires temporary additional personnel, which will result in additional labor costs of $50,000 per year (in nominal terms), which remains constant in real terms. All costs and sales are incurred at the end of each year. Additional net working capital requirements at the beginning of each year are 15% of expected sales for that same year. The market value of the factory after three years is $1,300,000 in real terms. The asset class is closed upon selling the factory. The CCA rate is 4%, the tax rate is 35%, the expected inflation rate is 2.5% and the required rate of return is 10% in real terms. Calculate the project’s NPV.
In: Accounting