Use Python to solve: show all code:
2) For the last assignment you had to write a program that calculated and displayed the end of year balances in a savings account if $1,000 is put in the account at 6% interest for five years.
The program output looked like this:
Balance after year 1 is $ 1060.0
Balance after year 2 is $ 1123.6
Balance after year 3 is $ 1191.02
Balance after year 4 is $ 1262.48
Balance after year 5 is $ 1338.23
Modify your code so that it displays the balances for interest rates from three to five percent inclusive, in one percent intervals. (Hint: Use an outer loop that iterates on the interest rate, and an inner one that iterates on the year.)
Output:
Interest rate of 3 %:
Balance after year 1 is $ 1030.0
Balance after year 2 is $ 1060.9
Balance after year 3 is $ 1092.73
Balance after year 4 is $ 1125.51
Balance after year 5 is $ 1159.27
Interest rate of 4 %:
Balance after year 1 is $ 1040.0
Balance after year 2 is $ 1081.6
Balance after year 3 is $ 1124.86
Balance after year 4 is $ 1169.86
Balance after year 5 is $ 1216.65
Interest rate of 5 %:
Balance after year 1 is $ 1050.0
Balance after year 2 is $ 1102.5
Balance after year 3 is $ 1157.62
Balance after year 4 is $ 1215.51
Balance after year 5 is $ 1276.28
In: Computer Science
Dryden purchased a van for $24,000 on January 1, in year 1 and planned to use it as rental property. The van has an estimated salvage value of $4,000 and an estimated useful life of 4 years. Dryden also assumed that the productive capacity of the van is 100,000 miles, and odometer readings indicate that the van was driven 40,000 miles in year 1, 20,000 miles in year 2, 30,000 miles in year 3, and 15,000 miles in year 4, respectively.
Required:
I. Determine the depreciation expense for year 1, year 2, year3 & year 4 by using straight-line method.
II. Determine the depreciation expense for year 1, year 2, year3 & year 4 by using double declining balance method.
III. Determine the depreciation expense for year 1, year 2, year3 & year 4 by using units of production method.
In: Accounting
McDougan? Associates, a? U.S.-based investment? partnership, borrows euro90,000, 000 at a time when the exchange rate is ?$1.3341?/euro. The entire principal is to be repaid in three? years, and interest is 6.650?% per? annum, paid annually in euros. The euro is expected to depreciate? vis-à-vis the dollar at 3.2?% per annum. What is the effective cost of this loan for? McDougan?
Interest Payment due in euros
Year 0 90,000,000
Year 1
Year 2
Year 3
Total Cash flow of euro-dominated debt
Year 0
Year 1
Year 2
Year 3
Expected exchange rate $/euro
Year 0-1.3341
Year 1?
Year 2?
Year3?
Dollar equivalent of euro-denominated cash flow
Year 0 $?
Year 1$?
Year 2$?
Year3 $?
What is the effective cost of this loan for? McDougan?
In: Finance
Read the following article (Written by Jeffrey Y. Campbell, manager of the FAO-based Forest and Farm Facility).and answer the question that follows;
No Sustainable Development without Indigenous Peoples.
For years, the importance of indigenous peoples in the fight against deforestation, land degradation and climate change was overlooked and even denied, to the detriment of the environment and the food systems on which we all depend. Thanks to the global advocacy of indigenous peoples and their organizations, this tendency is changing – though not fast enough.
Some 370 million people identify themselves as members of indigenous cultures. While indigenous peoples make up less than 5% of the world’s total population, they wield enormous influence over the well-being of the natural resources on which we all depend. They manage 28% of the world’s land surface and, are the de facto guardians of 80% of global biodiversity – including most of the plant and animal species on Earth.
As family farmers, fishers, pastoralists and forest-dwellers, indigenous peoples apply traditional methods of land management and food production which have evolved over centuries and which have often proven their sustainability and resilience in the face of environmental changes.
Indigenous knowledge systems and languages contribute directly to biological and cultural diversity, poverty eradication, conflict resolution, food security and ecosystem health, and serve as the foundation of the resilience of indigenous communities to the impact of climate change. Their awareness of traditional food sources and the fundamental connection between food systems and healthy landscapes can help to promote diets that are diverse and sustainable.
The vital role of indigenous peoples was recognized in the 2007 UN Declaration on the Rights of Indigenous Peoples (UNDRIP). And yet, indigenous peoples continue to suffer disproportionately high levels of land insecurity, social dislocation and violence while defending their traditional lands. They also make up 15% of the world’s poorest people.
These and other factors, including youth migration, are causing traditional knowledge and indigenous food systems to disappear at an alarming rate. They are also contributing to the rapid loss of indigenous languages. In fact, this year’s observance of the International Day of the World’s Indigenous Peoples (9 August) focuses attention on the world’s 7,000 indigenous languages, in keeping with the year-long observance of the International Year of Indigenous Languages.
When, in 2015, the international community agreed on 17 Sustainable Development Goals (SDGs), a set of targets for improving lives while protecting natural resources by the year 2030, they included specific mention of indigenous peoples, and acknowledged that there can be no truly sustainable development without protecting the traditional knowledge and territories of indigenous peoples.
We can look to the world’s forests for an example of why this is so. Forests continue to be critical for the food security, livelihoods, culture and spiritual identity of indigenous peoples. Their resources include nutritious foods and medicines, household materials and the income gained from selling forest products.
Indigenous knowledge can be combined with new information and innovation in agriculture and land management to protect biodiversity and foster integrated sustainable management of diverse food systems and conservation of traditional medicines. But this approach requires urgent, consistent action.
In countries like Indonesia and Peru, governments and organizations of indigenous peoples are working to develop appropriate forestry policies that take into consideration the land, resource rights and views of indigenous peoples, providing communities with land tenure options and offering farmers, fishers and forest-dwellers training in updated techniques to address climate change and forest management.
In Côte d’Ivoire, Panama and elsewhere, new technologies, such as drone-supported mapping of forest cover and territories, are being used to support sustainable land management (SLM) practices and recognition of traditional land ownership rights.
Other initiatives to support indigenous peoples include finding new markets for traditional products, developing forest and land management plans that are climate-resistant, promoting protection of indigenous intellectual property and cultural identities and developing systems for indigenous peoples to negotiate and resolve potential conflicts with the holders of private forest concessions.
In recent months, the Food and Agriculture Organization of the UN (FAO) hosted the first-ever high-level expert meeting on indigenous food systems. In the near future, a forthcoming FAO report based on two years of research is expected to shed further light on the experiences of indigenous peoples, their needs and their potential to help achieve a sustainable, hunger-free world.
While these are encouraging signs of commitment, it will take urgent, broader policy changes and community-based action, particularly around the recognition of land rights, to bring about significant, lasting improvements in the lives of indigenous peoples and the natural resources which are vital to us all.
Fortunately, the next generation of indigenous peoples, the youth, are showing signs of mobilizing to keep up the momentum. It is our collective responsibility to support them and, ultimately, the well-being of our planet.
Question
In: Operations Management
-The table below details the individual Consumer Price Indices (CPI) for individual expenditure categories for 2016 and 2017:
|
CPI Category |
2016 |
2017 |
Price Change |
|
Gasoline |
195.915 |
216.781 |
|
|
Apparel |
122.637 |
120.614 |
|
|
College textbooks |
346.15 |
342.34235 |
What was the price change between 2016 and 2017 in the gasoline expenditure category?
1. 216.781%
2. 110.65%
3. 10.65%
4. 195.915%
please explain me how to calculate and answers.
- Read the following excerpt from a U.S. Energy Information Administration Report that was published on January 9, 2018:
Crude Oil Prices. Brent crude oil averaged $54/barrel (b) in 2017, an increase of $10/b from 2016 levels. Prices increased fairly steadily through the second half of the year, with year-end prices higher than the annual average. Daily Brent spot prices ended 2017 near $67/b, which was the highest level since December 2014. The monthly average spot price of Brent crude oil increased by $2/b in December to $64/b, marking only the fourth time that monthly Brent crude oil prices averaged more than $60/b in the past 36 months
Most of the upward price movement in recent months reflects continuing draws in global oil inventory levels. EIA estimates that global petroleum and other liquid fuels inventories fell by an average of 0.4 million b/d in 2017, which was the first year of annual average draws since 2013. In addition, oil prices were supported by OPEC’s November 30, 2017, announcement to extend its crude oil supply reduction agreement through the end of 2018. Also, Brent prices increased in December because of a disruption to the North Sea’s Forties crude oil pipeline system early in the month. The Forties pipeline system is one of the primary distribution networks for Brent crude oil delivery in the North Sea, and its outage curtailed available supply in the near term. Trade press reports indicate the Forties pipeline system restarted operations in late December 2017.
Questions:
Based on the excerpt, was the increase in the gasoline expenditure category CPI due to a change in supply or demand in the market?
1. Demand, because there were several factors affecting the market that were caused by producers of crude oil. In particular, inventory levels increased, OPEC extended production increases, and there was a disruption in a major pipeline system.
2. Supply, because there were several factors affecting the market that were caused by producers of crude oil. In particular, inventory levels declined, OPEC extended production reductions, and there was a disruption in a major pipeline system.
3. Supply because price increases are generally due to production decisions. In addition, supply creates its own demand, thus the supply side of the market will determine equilibrium prices.
4. Demand because as prices rose we saw a reduction in the quantity demanded in the market. This led to the reduction in crude oil inventory levels and the production disruptions.
what is answer?
-Read the following excerpt from a Forbes article that was published on November 3, 2017:
Now department stores’ frantic plunge into the off-price sector is in danger of killing off the full-price apparel business for good, experts warn.
In addition to discounting merchandise in their full-line stores, marked-down goods are increasingly feeding the pipeline in department stores’ ever burgeoning off-price channel, from the already heavily promotional Macy’s expanding its BackstageLinks to an external site. spin-off concept to Nordstrom’s Rack format.“The off-price business is driving growth and getting bigger than the full-price channel,” said Susan LeeLinks to an external site., a partner with consultancy Simon-Kucher.
Today, Nordstrom operates 216 Nordstrom Rack off-price stores, nearly double the number of its 122 full-line stores, just as Saks Fifth Avenue’s 39-store full-line chain is a fraction of its 118-store Off 5th outlet fleet.
The Amazon Factor
Amazon isn’t doing the full-price apparel business any favors either. While fashion brands are by no means flocking to the site, still fearful of losing control of their brand image, the discount-aggressive e-tailer is gunning for apparel, and has scored some big symbolic wins, such as itspartnership with NikeLinks to an external site..
Lord & Taylor department stores, for one, recently started pricing matching AmazonLinks to an external site.. (Not to mention partnering with Wal-Mart in an online mall venture.)
Questions:
Based on the excerpt, was the decrease in the apparel expenditure category CPI due to a change in supply or demand in the market?
1. Supply. This is due to a reduction in overall competition in the low priced apparel market.
2. Supply. This is due to increased competition among suppliers in the apparel market, which reduced prices.
3. Demand because consumers tastes and preferences shifted to higher priced apparel items.
4. Demand. This is due to decreased competition among suppliers in the apparel market, which reduced prices.
In: Economics
C++ questions, please make sure to dividet he program into functions which perform each major task,
A leap year is defined as any calendar year which meets the following criteria:
If the year is not divisible by 4, it is a common year
If the year is not divisible by 100, it is a leap year
If the year is not divisible by 400, it is a common year
Otherwise it is a leap year
For your program you will take in three integers from the user:
A four digit year
The day of the month (between 1 and 31)
The month (between 1 and 12, 1 representing January and 12 representing December)
Your program will output whether or not the date entered is a valid calendar date. Be sure to divide your program into functions which perform each major task.
Hint: There are 30 days in September, April, June and November. If the year is a leap year, there are 29 days in February. If the year is a common year there are 28 days in February. All other months have 31 days. Some examples to help you verify leap year calculation:
|
Condition |
Result |
Examples |
|
Not divisible by 4 |
Not a leap year |
2009, 2010, 2011 |
|
Divisible by 4 |
Leap year |
2008, 2012, 2016 |
|
Divisible by 100 |
Not a leap year |
1800, 1900, 2100 |
|
Divisible by 400 |
Leap year |
2000, 2400 |
In: Computer Science
An arc welder with AI software onboard costs $3,800 today, $3750 last year, and $3,100 one year prior to that. Determine the one-year rate of inflation for each year.
The inflation rate for last year was ___%.?
The inflation rate for one year prior to last year was ___%.?
In: Economics
Ogilvy Company manufactures and sells one product. The following information pertains to each of the company’s first three years of operations:
| Variable cost per unit: | ||
| Direct materials | $ | 35 |
| Fixed costs per year: | ||
| Direct labor | $ | 2,212,000 |
| Fixed manufacturing overhead | $ | 841,000 |
| Fixed selling and administrative expenses | $ | 320,000 |
The company does not incur any variable manufacturing overhead costs or variable selling and administrative expenses. During its first year of operations, Ogilvy produced 79,000 units and sold 79,000 units. During its second year of operations, it produced 79,000 units and sold 73,400 units. In its third year, Ogilvy produced 79,000 units and sold 84,600 units. The selling price of the company’s product is $78 per unit.
Required:
1. Assume the company uses super-variable costing:
a. Compute the unit product cost for Year 1, Year 2, and Year 3.
b. Prepare an income statement for Year 1, Year 2, and Year 3.
2. Assume the company uses a variable costing system that assigns $28 of direct labor cost to each unit produced:
a. Compute the unit product cost for Year 1, Year 2, and Year 3.
b. Prepare an income statement for Year 1, Year 2, and Year 3.
3. Reconcile the difference between the super-variable costing and variable costing net operating incomes in Years 1, 2, and 3.
1b
Prepare an income statement for Year 1, Year 2, and Year 3. Assume the company uses super-variable costing.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2a
Compute the unit product cost for Year 1, Year 2, and Year 3. Assume the company uses a variable costing system that assigns $28 of direct labor cost to each unit produced.
|
2b
Prepare an income statement for Year 1, Year 2, and Year 3. Assume the company uses a variable costing system that assigns $28 of direct labor cost to each unit produced.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||
req 3
Reconcile the difference between the super-variable costing and variable costing net operating incomes in Years 1, 2, and 3.
|
In: Accounting

| Quarter | Guests (in thousands) | Quarter | Guests (in thousands) |
|---|---|---|---|
| Winter Year 1 | 63 | Summer Year 2 | 125 |
| Spring Year 1 | 89 | Fall Year 2 | 51 |
| Summer Year 1 | 155 | Winter Year 3 | 94 |
| Fall Year 1 | 77 | Spring Year 3 | 161 |
| Winter Year 2 | 65 | Summer Year 3 | 210 |
| Spring Year 2 | 84 | Fall Year 3 | 97 |
In: Other
The cash flows and Net salvage value of Project X is given the following table:
|
Year |
Cash flows |
Salvage Value |
|
0 |
-5,800 |
4,800 |
|
1 |
2,100 |
3,000 |
|
2 |
3,400 |
2,200 |
|
3 |
3,600 |
1,800 |
|
4 |
1,800 |
0 |
Based on the Economic Life of this project and the cost of capital is 12%, in what year should you abandoning this Project X?
In: Finance