I am unsure as to why I cannot solve my Computer Science question I was just wondering if someone could show me exactly what they would do the code is in C++:
write a program that display the following manual for user to chose among calculations
Please select one of the following:
The program will then read in the user entry.
when the user chose "1", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, add them and display the sum; when the user chose "2", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, subtract the 2nd number from the first one and display the result; when the user chose "3", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, multiply them and display the product; when the user chose "4", it will ask the user "Please enter two numbers separated by space:", read these two numbers into variables, divide the first number by the 2nd number, and display the quotient; when the user chose "5", exit the program; when what the user entered is not within the range of 1~5, display "This is Not a valid choice."
In: Computer Science
You collect a sample of hydrogen gas in an inverted buret by displacement of water at 23 degrees C. The buret could not be submerged deep enough in the water level in the water bath. The volume of gas in the buret was determined to be 32.60 mL.
a. If the current atmospheric pressure was 29.45" of Hg, what is the pressure of dry hydrogen in the buret? Show your work.
b. How many moles of hydrogen are in this sample? Show your work.
In: Chemistry
In 2009, Roche Holding AG (Roche) made an offer to acquire all remaining outstanding shares of US biotechnology company Genentech. To pay for the deal, Roche planned to sell a record $32 billion in bonds at various maturities from 1 year to 30 years, and in three different currencies (USD, Euro, British pound). For simplicity, let us assume they only issue 10 year dollar-denominated bonds. The 10 year interest rates on corporate bonds, and the median earnings to interest expense ratios (EBITDA/interest expense coverage ratio) for US rated industrial companies at the time were as follows:
| Rating | Interest rate | Coverage ratio |
|---|---|---|
| AAA | 4.0% | 114.0 |
| AA | 4.9% | 44.0 |
| A | 5.6% | 12.8 |
| BBB | 7.0% | 8.2 |
With the acquisition of Genentech, suppose we project that Roche will have earnings (EBITDA) of $23 billion, and their interest expense will be $32 billion (the debt) times the interest rate. If we use the coverage ratio to estimate the bond rating, and we use the bond rating to estimate the interest rate, what rating will we assign to Roche's debt?
AAA
AA
A
BBB
In: Finance
Frederick Taylor (1856-1915) is the father of scientific management, a method for analyzing work flows with a specific focus on improving labor productivity. Taylor's methods have had a large influence on the Lean philosophy, particularly standardized work (e.g., standard parts and standard work instructions). Despite Taylor's connection to Lean, he would likely analyze a business process very differently from Taiichi Ohno (1912-1990), the father of Lean thinking and past CEO of Toyota. Consider the following situation. Taylor and Ohno walk down a hospital corridor together and see a nurse chatting with a patient who is waiting for a CT scan. Both would be upset about this “waste,” but for different reasons. Taylor would be upset about the nurse not doing work and Ohno would be upset about the patient not flowing smoothly through the system. Both would see waste, but for Taylor the focus is the worker and for Ohno the focus is the product, or in this case, the patient. In a Lean system, a nurse waiting for the next patient to triage is not a waste, but a patient waiting for triage is. For Taylor, the opposite is true.
Briefly argue in favor of Taylor's perspective or Ohno's perspective.
In: Operations Management
Select all that are correct: 14. Brown Dwarfs: a. are plotted at the extreme lower left-hand corner of an HR diagram. b. are all main sequence stars. c. are actually Òfailed stars.Ó d. include Jupiter. e. are all thought to be the final evolutionary state of the lowest mass Main Sequence stars. 20. During post main sequence evolution: a. elements heavier than helium can be produced. b. the remaining lifetime is much shorter than the same star's main sequence lifetime had been. c. all stars will become extreme Population I stars in their surface spectrum. d. some stars still continue to burn hydrogen in their innermost cores. e. all stars tend to increase their masses slightly.
In: Physics
a box contains two halves separated by a partition. Initially, there are 3 ideal gas molecules in the left half, and a vacuum in the right half. The partiition is then removed so the gas goes through a "free expansion" so that the speeds of the molecules are unaffected. In the final state, each molecule has probability of 1/2 of being in the left half of the box and probability of 1/2 being in the right half od the box. Because each of the 3 molecules now has twice as many possible positions than before, the number of microstates of the system has increased by a factor of 2x2x2=2^3. Determine the change in entropy of the system as a result of removing the partition. (Note: We can only calculate the change in entropy of the system but not the initial and final entropy values without knowing more information) What is the probability that all three molecules will simultanesouly be in the left half of the box?
In: Physics
1. As the frequency goes to zero, to what value does the phase constant approach? What is expected?
2. To what value should the phase constant approach at very high (compared to the resonant frequency)?
3. Does the current lead or lag the applied voltage at very high frequency?
4. For driving frequencies below the resonant frequency, which is larger, the capacitive reactance or the inductive reactance?
5. Can any of the amplitudes VR, VL, or Vc be larger than the amplitude of the source emf E? Why or why not? One might consider an RLC phasor diagram to answer this question.
In: Physics
Write a C++ program to generate two random numbers (Rnd1 and Rnd2). These two numbers should be within a range [100, 500]. If Rnd1 greater than or equals to Rnd2, print out the result of (Rnd1-Rnd2). Otherwise, print out the result of (Rnd2-Rnd1). In all cases, print Rnd1, Rnd2, and the results of subtractions in suitable messages.
In: Computer Science
Question 1: IT Governance [50 marks]
According to a variety of studies, IT governance is usually implemented so as to ensure that IT operations and investments deliver more value to the business.
a) Discuss the activities that are required to setup IT governance in an organization. [25 marks]
b) With the aid of examples, discuss the factors that could affect IT governance. [25 marks]
In: Computer Science
In: Computer Science
must have a minimum of 5-7 sentences per question and evidence in each response...
Visiting Angels
Connie Hill, whose father was at home sick, became sensitive to the needs and struggles of senior citizens who wish to remain at home. After losing her hospital job a few years after her father’s death, she purchased the franchise of Visiting Angels, a national network of nonmedical, senior home care agencies providing service to help elderly and older adults who continue to live in their homes.
Hill reasoned that, from a business standpoint, a well-developed strategy focused on improving the welfare of senior citizens has a good opportunity to succeed. As people are living longer, there are more seniors who wish to remain in their own homes while needing assistance in daily living. She felt that starting her own business created a greater potential for good income while controlling her own fate.
“Management experience is the essential skill that individuals interested in my job field need,” states Hill. The experience she gained managing staff at the hospital in her previous job proved to be invaluable in coaching employees and building effective teams.
“I personally meet with every client before their care begins. It makes them feel comfortable. I want people to say ‘Call Connie’ when they need care for a loved one. I want my name to be synonymous with Visiting Angels.”
When screening potential employees to administer this care, Hill states that it’s vital to establish the right fit between caregivers and clients. When she hires, even if the person’s credentials and skills are top-notch, she asks herself, “Is this someone I would want to take care of my mother?”
She feels that the most important thing to fulfill the needs of seniors is finding individuals with a “heart for serving.” Hill says they are available 24 hours a day. “We want to make Visiting Angels available whenever our clients need us. My first priority is meeting the needs of my clients.”
She states that even after 12 to 13 hours of work, this kind of business makes you feel good because you know you’ve helped someone. As her business continues to grow, she says she never wants to stop her hands-on involvement with the seniors they care for, their families, and her team. “To be in this field and to succeed in it you should have both the heart and the passion for assisting in and easing the life of senior citizens.”
Questions
In: Operations Management
Should students with learning disabilities be entitled to academic accommodations? If so, what accommodations should students with learning disabilities have right to? Should such accommodations be made at all levels of education (i.e., elementary school, secondary school, college and university)? Would granting accommodations to students with learning disabilities be unfair to students without learning disabilities?
In: Psychology
C Programming Language
Problem Title : Museum Heist
Jojo loves art. In his free time, he usually goes to the museum and admires the artwork there. since Jojo loves are so much, he is planning a heist at the museum. Jojo knows the price of every piece of art and doesn't want to raise suspicion, so he decided to steal the second most expensive art piece. It is guaranteed that there are at least two art pieces with different prices.
Format Input
A line with integer N followed by another line of N numbers denoting the value of Ai.
Format Output
A single line of integer denoting the price of the second most expensive art piece.
Constraints
¶ 2 ≤ N ≤ 10^5
¶ 1 ≤ Ai ≤ 10^9
Sample Input 1
5
1 7 2 5 3
Sample Output 1
5
Sample Input 2
4
1 7 9 9
Sample Output 2
7
Sample Input 3
7
11 11 13 13 13 12 11
Sample Output 3
11
In: Computer Science
Your former director of business development contracted John Smith, an American consultant, to manage the development and marketing of one of the newer projects of the company.This project appeared very promising but is in fact bringing much lower revenues than originally anticipated. Mr. Smith just presented his expenses for his first class airfare tickets, five star hotel rooms and gourmet restaurant bills (with expensive French wines) of the last three months. Such expenses are a serious concern to your director of finances who finds them out of line. Your financial reports for the second half of this year would be improved if you negotiated an eight-month earlier termination of his 20-months consulting contract. That would help you wind down this project quicker. However, there is no good cause to base Mr. Smith’s termination on the lack of his contractual performance. In fact, some within your organization appreciate Mr. Smith’s work and believe he might turn things around, given additional time and manpower. You also have a suspicion about a potential conflict of interest. Indirectly, through an employee of HR, you have been told that Mr.Smith was seen in a night club entertaining Ms. Hodge, a project manager of your main competitor. Mr. Toba, a member of the Board of your company has been suggesting to your President that he might be more sympathetic to the under-performance of this project if you managed to contract his nephew George,a fresh MBA graduate from Northwest University, instead of John Smith. To review the contractual arrangements with Mr. Smith, you asked your contract department earlier today for a copy of his consulting contract. Unfortunately, they have been unable to locate their signed copy at this time.
Considerations for your Blackboard debate of this case:
1) How would you approach your consultant about various issues?
•Directly or indirectly
•Discussing all or just some issue; Why?
2) Would you try to work out issues with the consultant or terminate his contract?
3) Explain how such case would be handled if contracting company was residing in a certain country that you are familiar with.
In: Operations Management
| An analyst uses a two-stage variable growth model to estimate the value of Old Maid Company's common stock. | |||||
| The most recent annual dividend paid by the company was $3 per share. The analyst expects dividends to increase | |||||
| 8% per year for the next 3 years and then drop to 4% starting in year 4 and remain stable for the foreseable future. | |||||
| The required rate of return used for the analysis is 10% | |||||
| a) What are the expected dividends for the next 4 years? | |||||
| b) What is the value of the stock attributable to the first 3 years of dividends? (use NPV function) | |||||
| c) What is the value of the stock at the end of year 3? (use constant-growth model) | |||||
| d) What is the value of the stock attributable to years 4 and beyond? (use pv function, where answer to part C is the fv) | |||||
| e) What is the total value of the stock? | |||||
| Question 5b | Question 5c | Question 5d | Question 5e | ||
| $8.68 | $65.50 | $49.21 | $57.89 | ||
In: Finance