Create your own buy and sell stock problem

Answers

Answer 1

Answer:

The cost of a stock on each day is given in an array, find the max profit that you can make by buying and selling in those days. For example, if the given array is {100, 180, 260, 310, 40, 535, 695}, the maximum profit can earned by buying on day 0, selling on day 3. Again buy on day 4 and sell on day 6. If the given array of prices is sorted in decreasing order, then profit cannot be earned at all.

Explanation:


Related Questions

Which of the following strategies can a country use to keep its products inexpensive for consumers in the U.S.?
A.
Raising its interest rates
B.
Keeping its interest rates low
C.
Increasing its exports
D.
Avoiding debt


Please select the best answer from the choices provided

Answers

Answer:

Keeping its interest rates low

Explanation:

Interest rates correlate with the exchange rate of a country. Low-interest rates are unattractive to foreign investors. Investors associate low-interest rates with reduced returns. In the foreign exchange market, the demand for such a country's currency will below, resulting in a lower exchange rate against other currencies.

If a country has low-interest rates, its currency will be in low demand, meaning its strength will be relatively weaker against the US dollar.  One dollar will be able to buy a large quantity of goods and services from such a country. In other words, that country's exports will be cheaper in the USA.

Answer: B

Explanation:

trust

A communication style is ____________________

Answers

Answer:

Communication styles are the broad ways in which people tend to communicate with others.

Explanation:

Answer:

Texting

Explanation:

PLEASE ANSWER THESE IT WOULD BE A HUGE HELP
1. Investing in bonds is risk free. Investing in stocks is much riskier. Why do you think fictional advisors suggest that it’s a good idea to own both stocks and bonds?
2. Each time you sell a stock to make a profit, you must pay tax on the money you make (the
difference between the buying and selling price). This is called capital gains tax. Do you think
capital gains tax is a good idea? Why or why not?

Answers

Answer:

Explanation:

1.

Advisors say to invest in both so that if you lose all your money on the stock market, you will still have a good amount of money invested in bonds, still safe. However, if you’re lucky and the stocks you invested in go up in value, you can earn a large amount of money in addition to the bonds you’ve invested in.

Oh I have this same one, right now i only know 1 TOT

Answer:

1. Advisors say to invest in both so that if you lose all your money on the stock market, you will still have a good amount of money invested in bonds, still safe. However, if you’re lucky and the stocks you invested in go up in value, you can earn a large amount of money in addition to the bonds you’ve invested in.

2. This one is opinionated and depends on your beliefs.

Explanation:

Calculate the additional cash needed for the six months. When there is a cash shortfall (the shortfall/surplus cash calculation is less than zero), additional cash must be obtained from a loan to cover all of the monthly expenses. Therefore, additional cash needed is equal to any cash shortfall. It is zero if there is a cash surplus. The additional cash needed should be a positive number even though a shortfall will be a negative number in the model (row 26). [6 points]

Answers

Answer:

the numbers are missing, so I looked for a similar question:

Vince's Blinds will have cash receipts of​ $97,000 and cash disbursements of​ $108,000. If its beginning cash is​ $5,000 and its desired reserve is​ $2,000, what will be its shortfall in cash for the​ month?

You have to repeat the same procedure for the following months. The ending balance of month 1 becomes the beginning balance of month 2, and so on. For month 2 we can flip the cash receipts and disbursements:

                                                 Month 1       Month 2       Month 3

Beginning cash balance          $5,000        $2,000        $5,000

Cash receipts                          $97,000    $108,000           ....

Cash disbursements           ($108,000)    ($97,000)

Net balance                            ($6,000)       $13,000

Cash from loan                         $8,000      ($8,000)

Ending cash balance               $2,000        $5,000

Depending on the numbers that you have, you should be able to complete the 6 months and then just add the cash from loans.  

Amber showed up to the conference room five minutes before her presentation, which was to begin at 2 P.M. This was the first time she had been to conference room #9, and she assumed that it had a projector. Unfortunately, it didn't. After noticing this fact, she rushed to an adjacent room to borrow one. She was able to do so, and finished setting up her equipment at 2:15. She had to borrow a laptop as well, since the room did not have a computer. 1. Think carefully about what happened to Amber's presentation. In your estimation, what was her first mistake?

Answers

Answer:

She should have come earlier so that she could prepare for her presentation, and if she knew she needed specific equipment then she should have asked someone if the room had it.

Explanation:

So basically just not coming early and prepared.

What are three factors that affect price equilibrium and how does each factor affect it?

Answers


As you can see, an increase in demand causes the equilibrium price to rise. On the other hand, a decrease in demand causes the equilibrium price to fall. An increase in supply causes the equilibrium price to fall, while a decrease in supply causes the equilibrium price to rise.

Prepare the general journal entry (without explanation) needed to close Net Income or Net Loss for the year end. Use compound entries where required. If no entry is required then write "No Entry Required."

Answers

Answer:

Closing entry for closing net profit / net loss for the year ended

Explanation:

In case of net profit, for the year ended closed -

Profit & Loss a/c .. dr

to Capital ac

{Reason - As profit has credit balance, so nullifying by debiting it. And, profit increases capital, so capital a/c is credited}

In case of net loss, for the year ended closed -

Capital a/c .. dr

to Profit & Loss ac

{Reason - As loss has debit balance, so nullifying by crediting it. And, loss decreases capital, so capital a/c is debited}

Brian really likes cars. He has a job that is far away from where he lives . Brian is buying a new car. After looking at many different cars, he buys a low-mileage, jet-black sports car. What decision - making method did Brian most likely use?

Answers

Answer:

Rational

Explanation:

Answer:

Emotional

Explanation:

Is profit the same as cash flow?

Answers

Answer:

No

Explanation:

Cash flow refers to the money that flows in and out of your business. It's income and expenses.

Profit, however, is the money you have after deducting your business expenses from overall revenue. Both are important, but cash flow is essential to keep your business running in the here and now.

Which career pathways involve high risk due to exposure to dangers?

Firefighters in the Emergency and Fire Management pathway, Correctional Officers in the Corrections pathway, and Detention Officers in the Law Enforcement pathway
Firefighters in the Emergency and Fire Management pathway, Detention Officers in the Corrections pathway, and Intelligence Analysts in the Security and Protective Services pathway
Intelligence Analysts in the Security and Protective Services pathway, Detention Officers in the Corrections pathway, and Police Officers in the Law Enforcement pathway
Firefighters in the Emergency and Fire Management pathway, Detention Officers in the Corrections pathway, and Police Officers in the Law Enforcement pathway

Answers

Answer:

Firefighters in the Emergency and Fire Management pathway, Correctional Officers in the Corrections pathway, and Detention Officers in the Law Enforcement pathway.

Explanation:

The career pathways that  involve high risk due to exposure to dangers is :

A) Firefighters in the Emergency and Fire Management pathway, Correctional Officers in the Corrections pathway, and Detention Officers in the Law Enforcement pathway.

"Career Pathways"

The career pathways that involve high risk due to exposure to dangers is:

Firefighters in the Emergency

Firefighters too give an critical part in teaching the open with respect to fire and security.

Instructing fire anticipation and teaching the open on how to reply in crisis circumstances can offer assistance spare lives.

Fire Management pathway

Candidates require a long time of work encounter in law requirement, fire security, or an crisis administration field.

Crisis administration executives ordinarily require a bachelor's degree

Correctional Officers in the Corrections pathway

Corrections officers may do a few or all of the taking after:

supervise prisoners' day by day schedule, which incorporates feast, work and amusement times. screen, evaluate and oversee the conduct and security of detainees watch jail buildings and grounds.

Detention Officers in the Law Enforcement pathway.

A detainment officer forms prisoners, keeps up imprison security, serves dinners, transports detainees, gets and forms detainees into care of educate, looks detainees, and takes charge of individual property and gives detainees with opportunity to call their lawyer or relative.

A Career Pathway traces the positions, compensation, and preparing required to development in an industry.

Thus, the correct answer is A.

Learn more about "pathways":

https://brainly.com/question/25866470?referrer=searchResults

Dera diamonds inc. is a premium jeweler. its clientele includes movie stars, politicians, businessmen, and popular socialites. it has a team of jewelry experts that designs jewelry for each of its clients from scratch. everything is made to meet the specific requirements of the clients, and no two jewelry pieces produced by this company has ever been identical. this is an example of

Answers

Answer:

customization

Explanation:

From the question we are informed about Dera diamonds inc. which is a premium jeweler. its clientele includes movie stars, politicians, businessmen, and popular socialites. it has a team of jewelry experts that designs jewelry for each of its clients from scratch. everything is made to meet the specific requirements of the clients, and no two jewelry pieces produced by this company has ever been identical. The case above is an example of customization. Customization in business is also regarded as "built-to-order" it involves the modification of products/goods to suit the personal specification or preference of the clients/customer, it is a way to deliver the product of the customer according to the specified requirements. It a business strategy and when done very well, it makes the clients to always patronize again.

think about a piece of fruit that you recently purchased. list the natural, labor, and capital resources needed to get it to you

Answers

Answer: Typically shipping fresh fruit or shipping fresh produce involves a few different steps which can slow down productivity. For example, fruits are loaded into a corrugated box then added to a pallet, then shrink wrap is added or banding is used to keep the boxes on the pallet.

Explanation:

A market supply schedule shows the relationship between


please!!!!!!

Answers

Answer: A supply schedule is a table that shows the quantity supplied at different prices in the market. A supply curve shows the relationship between quantity supplied and price on a graph.

Explanation: I HOPED THAT HELPED,!

What should you do before you approach a atm

Answers

Answer:

Try to use ATMs with which you are familiar. Choose well-lit, well-placed ATMs where you feel comfortable. If you need to use an ATM late at night, ask a friend to accompany you.

Before approaching the ATM, scan the surrounding area. Avoid the ATM altogether if it is too dark to see, isolated or looks unsafe. If there are bystanders loitering in the area, go to another machine or come back later.

Use your body to shield the screen and keypad before entering your PIN. Make sure other individuals in line stay a reasonable distance from you while you're performing your transaction.

Please help for brainliest

Answers

Answer:

C balance

Explanation:

it shows balance when you withdraw money

Type the correct answer in the box. Spell all words correctly. Which type of partnership should Adam and Donna choose? Adam and Donna have started their own business of making customized cell phone cases. However, Adam is also involved in another business and is not be able to dedicate time to the new business. He is willing to fund the business but is not able to help Donna in the daily operations. Donna suggests that they follow the partnership business structure.​

Answers

It doesn’t show the text can u type it again?

Answer:

Limited

Explanation:

What are stocks and mutual funds?

Answers

Answer:

Stocks are an investment in a single company, while mutual funds hold many investments — meaning potentially hundreds of stocks — in a single fund.

What are cover letters also called?
Letter of appreciation
Letter of preparation
Letter of anticipation
Letter of application

Answers

Answer:

A

Explanation:

because they are good

What kind of psychologist would someone who is dealing with the loss of a loved one most likely visit?

Answers

Answer:

Counseling psychologist

Explanation:

I just took the test! Good luck :)

Which of the following best explains the purpose of a supply schedule?
O A. To demonstrate how the supply decreases as price increases.
B. To calculate how much time it takes for distribution.
C. To show the relationship between quantity supplied and prices.
O D. To indicate how supply and demand relate to price.

Answers

Answer:

C. To show the relationship between quantity supplied and prices.

Explanation:

A supply schedule is a tabular demonstration of the quantity that suppliers will be willing to sell at different prices. It is a table showing the relationship between supply and price.

According to the law of supply, the supply increases as the price goes up. Therefore, the supply schedule is a tabular illustration of the law of supply.

Answer:

it is c

Explanation:

because    it does mean To show relationship between quantity supplied

and prices.

You purchased 100 shares of stock value at $55 per share. The stock value increases to $85 per share what was the rate of increase?

Answers

Answer:

54.55%

Explanation:

The purchasing price is $55

Price has increased to $85.

The monetary increase = $85 - $55 = $30

As a percentage , the increase will be

=$30/$55 x 100

=0.545454 x 100

=54.5454%

=54.55%

PROJECT: USING ADVANCED FORMULAS
Suppose you own a small business with ten employees. Small businesses use spreadsheets for a variety of reasons.

OBJECTIVES
Create a spreadsheet to track payroll.
Directions
Create a spreadsheet to calculate the your company's payroll, or how much you pay each employee and the total you pay all employees.

You pay your employees every two weeks, and for the last two weeks, your employees worked the following hours:

Employee 1: 78
Employee 2: 75
Employee 3: 80
Employee 4: 45
Employee 5: 50
Employee 6: 80
Employee 7: 65
Employee 8: 60
Employee 9: 78
Employee 10: 75
Your spreadsheet should calculate:

the total hours worked for each employee
the gross pay for each employee (pay rate is $12.50 per hour)
the state income tax for each employee (use 5.7%)
the Federal income tax for each employee (use 15%)
Social Security for each employee (use 3.5%)
the net pay for each employee by subtracting the income tax and Social Security from the gross pay
the total gross pay, total state income tax, total Federal income tax, total Social Security, and total net pay paid to all employees
When you finish your spreadsheet, estimate your answers to check for accuracy. Make any necessary corrections. Use formatting techniques to make your spreadsheet easy to read. Upload your spreadsheet using the Upload tool in the box below.

Answers

Answer:

Total hours worked for two weeks by all employees = 686 hours

Total Gross pay of all employees = $8,575.00

Total State income tax of all employees = $488.78

Total Federal income tax of all employees = $1,286.25

Total Social Security of all employees = $300.13

Total Net Pay of all employees = $6,499.85

Explanation:

Note: See the attached excel file for the calculation of the company's payroll or amount paid to each employee and the total amount paid to all employees on a spreadsheet as required by the question.

In the attached excel file, the following formula are used:

Gross pay for each employee = Pay rate of $12.50 per hour * Total hours worked for two weeks by each employee

State income tax for each employee = 5.7% * Gross pay for each employee

Federal income tax for each employee = 15% * Gross pay for each employee

Social Security for each employee = 3.5% * Gross pay for each employee

Answer:

here you go edmentum

Explanation:

here is a riddle again

If you drop me I’m sure to crack, but give me a smile and I’ll always smile back. What am I?

Answers

Answer:

a mirror

Explanation:

How are college costs different based on the type and location of the school you choose as well as
your room and board arrangement?

Answers

Answer:

If you choose a private university, chances are your tuition is going way up. Prestigious university with accredited programs can also be a bit pricey. Same thing goes for Ivy league schools. Community colleges are relatively inexpensive anywhere you go. Universities in big cities often have a higher tuition if you're considering location. Room and board arrangements differ. If you choose to live on campus in a basic dorm the expense won't be too bad. Colleges could also have the option of off campus housing which is way more expensive and they have different rooms you can choose from. Meal plans are also included in room and board so that's something to consider.

Explanation:


A step taken so that a reasonable person could assume that a business took appropriate safety measures is called ___________

Answers

Answer: Risk assessment

Explanation: This is known as risk assessment, the overall process of identifying all the risks to and from any activity and assessing the potential impact of each risk.  This is achieved by assessing the likelihood that each risk will occur, and then combining the result according to an agreed rule to give a single measure of potential impact.

To have a thought about what aspect of a business, might cause harm and decide whether you are taking reasonable steps to prevent that harm is known as a risk assessment.

If at a price of $24, Octavia sells 36 home-grown orchids and at $30 she sells 24 home-grown orchids. What is the change in quantity demanded?

Answers

Answer:

12

Explanation:

At the price of $24, the demand is 36

At the price of $30, the demand is 24

change in quantity demanded

= 36-24

= 12

reasons why biden/trump would make a good president WITHOUT mentioning the opposing canidate.

Answers

Answer:

please stop talking bout this stuff but biden is going to raise taxes and take away LGBTQ rights soo yeah that's not the best thing

Answer:

Trump will be a great president

Explanation:

VOTE FOR TRUMP

When an employer takes the time to explain a mistake you have made and provides suggestions for avoiding that same mistake in the future, the employer is offering _____.

constructive criticism
verbal warning
destructive criticism
discipline

Answers

Answer:

conatructive critcism

Explanation:

they are critisming you so you can do better

pls help
Jory wants to create a diagram to compare and contrast the qualifications of the three Energy pathways. Which qualifications could she put in the section common to all three pathways?

a. physical stamina, willingness to work long hours, teamwork, stress-management skills
b. physical stamina, color vision, stress-management skills, knowledge of geography
c. color vision, willingness to work long hours, teamwork, customer-service skills
d. knowledge of geography, customer-service skills, teamwork, stress-management skills

Answers

Answer:

A: physical stamina, willingness to work long hours, teamwork, stress-management skills

Explanation:

the others don't make sense according to the notes I took, correct me if I'm wrong

Answer: A - physical stamina, willingness to work long hours, teamwork, stress-management skills

Explanation - It was correct on edge 2022

why banks pay lower interest rates on savings accounts than on certificates of deposits.

Answers

Answer:

See below

Explanation:

Savings accounts are more common than certificates of deposits. Banks do not restrict customers on the number of withdrawal and deposits per period in a savings account. Banks consider savings account very liquid because a customer can withdraw their money anytime. Due to this reason, savings accounts attract low-interest rates.

Certificate of deposits, CDs have withdrawal restrictions. In this type of account, the customers agree to keep their money in the bank for a specified period. Banks offer a higher interest rate to encourage customers to keep their money in the account for the agreed duration.

Other Questions
Main Idea for Catherine, Called Birdy oct.4 entry!!plz please help iz due in 30 min and i have ten other entries to complete!! Suppose a perpetuity bond with a face value of $1,000 has a 10% coupon rate. If market interest rates fall to 8%, the price of the bond A. rises to $1,080. B. falls to $750. C. stays at $1,000. D. rises to $1,250. Nolan plots the y-intercept of a line at (0, 3) on the y-axis. He uses a slope of 2 to graph another point. He draws a line through the two points. Which equation represents Nolans line?y = 2x + 1y = 2x + 3y = 3x + 2y = 3x + 5 What goes missing after the animals return from their harvest? (in animal farm) A) SeedB) MilkC) CornD) Hay why is iran called a theocratic republicI Solution set of equation x^2-5x=0 planting selectmaterial in low quality? please answer my question Simplify the following expression (87x + 63y) - (6x + 32y) How did the members of the Constitutional Convention decided thepresident would be elected?A. Directly by the citizens of the nation.B. By one or both houses of Congress.C. By state governors.D. By members of the Electoral College. wich cultural region of United States fits this description?It was the first US region to industrialize. Today, it is the most densely populated region in the country.A. West CoastB. SouthC. MidwestD. Northeast Identify the phase of mitosis for each plant cell diagram shown below. A TV that normally cost $800 is on sale for 33% off. There is a 6% sales tax on the purchase. What is the final cost of the TV? Question 6 of 10What is the value of p?140"90loO A. 600B. 900C. 40O D. 50 Evaluate 5x-2w+t Help needed!! A number line going from 0 to 4 in increments of 1. There are 3 equals spaces between each number.Find: 11/3 2/3The quotient is 5 and _____. The motion of a car on a position-time graph is represented with a horizontal line. What does this indicate about the car's motion?OA. It's not movingOB. It's moving at a constant speed.OC. It's moving at a constant velocity.ODIt's speeding up. True False x-sqrt6 is a factor of x^4-36 a bowl of grapes has a total mass of 265 grams. The bowl has a mass 121 grams why herbaceous plants drop their leaves in hot and dry weather while woody plants remain erect 3 + 2p - 4 = 11algebra 1 solving equations