Questions
1) Describe the effect of hypovolemic shock on the blood vessels and the heart. 2) Atherosclerosis...

1) Describe the effect of hypovolemic shock on the blood vessels and the heart.

2) Atherosclerosis is a progressive disease of blood vessels that is responsible for millions of deaths each year. Describe the disease process, noting the involvement of specific cell/tissue types and molecules.

3) A woman in her early 50s appeared at a walk-in clinic, complaining of aching pain in her right leg following a fall. Visual examination revealed that the medial aspect of that leg was red and swollen. A diagnosis of phlebitis was made. What is phlebitis, and what more serious condition may result if proper healing does not occur?

4) For each of the following situations, describe the anticipated effect on blood pressure and the physiological basis of the response: (1) a high-salt diet, (2) a blow on the head that damages (disables) the vasomotor center, (3) an attack by a mugger, and (4) a hypothalamic tumor resulting in excess ADH production.

5) Mrs. Gray, a 50-year-old mother of seven children, is complaining of dull, aching pains in her legs. She reports that they have been getting progressively worse since the birth of her last child. During her physical examination, numerous varicosities are seen in both legs. How are varicosities recognized? What veins are most likely involved? What pathologic changes have occurred in these veins, and what is the most likely cause in this patient's case?

6) Mr. Wilson is a 45-year-old stockbroker with essential hypertension. He is African American, obese, and he smokes 2-3 packs of cigarettes daily. What risk factors for hypertension are typified by Mr. Wilson? What steps should be taken to treat Mr. Wilson, and what lifestyle changes should he make? What complications are likely if corrective steps are not taken?

7) A pregnant patient comes into a clinic and asks about a small painless dark compressible bulge that is becoming more apparent on her leg. What is it and what caused it?

8) At the battle of Shiloh in the American Civil War, Confederate General A. S. Johnston was killed when he was shot in the thigh. Witnesses reported that he bled to death almost before he realized that he was wounded. Which blood vessel was most likely to have been injured? Why is a tourniquet usually ineffective in stopping the bleeding from this wound?

9) A patient lost a lot of blood during surgery and his blood pressure dropped from 120/80 to 90/50. Describe how the kidneys respond to this change in blood pressure.

10) A patient has an 80% blockage of his left anterior descending coronary artery. Describe what occurs in terms of myocardial oxygen supply and demand if his sympathetic nervous system is stimulated.

In: Anatomy and Physiology

On April 1, 2018, Sukyoon registered the book store with the local government and the IRS...

  1. On April 1, 2018, Sukyoon registered the book store with the local government and the IRS by investing $500. Sukyoon owns 10 shares of the company. Jay also invested $2,000 for 40 shares of the company. Jay agreed that Sukyoon would be running the business.
  2. To house the business, the company bought an abandoned building near Snell Park for $150 on April 1. The purchase documents allocated $100 to the land and $50 to the building. The company paid for the building with $30 cash and a $120 (5 year/10%) mortgage from the Community Bank. The company expect the building have the useful life of 4 years with the expected salvage value of $
  3. On May 1, the company purchased 40 bookshelves at an average cost of $6 per unit. ($240 total). Sukyoon felt the shelves would only last for two years, at which time they would have no remaining value for sale.
  4. On June 15, the book store ordered hundreds of used books from AMAZON for $800 to be delivered on the same day. The book store was able to purchase the inventory “on account”, which meant he had up to 90 days after delivery to pay the supplier.
  5. On July 1, the book store signed a contract with a local advertising agency to provide various forms of advertising for a period of one year. The company paid $100 upfront for advertising through June 30, 2019
  6. On June 30, the book store also hired two employees, Eugene and Sarah, to run the store. They signed employment contracts promising each salaries of $5 per month
  7. On July 1, the book store recorded its first sales of used books totaling $600, most of which were paid in cash immediately. The original cost of these used books was $200. However, Sukyoon allowed a select number of students to pay later. The amount of credit sales out of the total sales was $100.
  8. On July 5, Jay called to check in on the business. Upon hearing that Clarkson “The Great” Book Store only had $__________ of cash left in the bank, Jay became concerned about his investment. Thinking fast, Sukyoon stated that he was so confident of Clarkson “The Great” Book Store’s prospects that he declared and paid a $0.10 per share dividend. This dividend seemed to reassure Jay.
  9. On July 10, the book store paid Amazon $200 it was owed
  10. On July 15, one students who purchased a book on credit on July 1 went bankrupt and the book store decided to write off sales of $2 to him.
  11. On July 31, the book store’s two employees were paid wages of $10 total during this one-month period and Sukyoon drew a salary of $10.
  12. On July 31, the book store’s made a payment of $8 in principal and interest payment of $4 to the Bank.
  13. On July 31, the company booked the depreciation expenses relating to the fixed assets during the 4-month period and booked the expense relating to the service provided by a local advertising agency during July.
  14. On July 31, the book store booked 10% of the pretax income as an income taxes expenses.

Create an income statement, balance sheet, and cash flow statement

In: Accounting

Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C,...

Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F.

  1. How many hexadecimal strings of length twelve have five A’s and five B’s?
  1. How many hexadecimal strings of length twelve have at most three E’s?
  1. How many hexadecimal strings of length twelve have exactly three A’s and at least two B’s?

  1. How many hexadecimal strings of length twelve have exactly two A’s and exactly two B’s, so that the two B’s are sandwiched between the A’s? 00A0 B8B8 111A is an example of such string.

  1. How many hexadecimal strings of length twelve have six digits from the set 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and six digits from the set A, B, C, D, E, F? No repetition is allowed.

  1. How many hexadecimal strings of length twelve have four digits from the set 0, 1, 2, 3, 4, 5, four digits from the set 6, 7, 8, 9, A and four digits from the set B, C, D, E, F?

  1. How many hexadecimal strings of length twelve have at least three distinct digits?
  1. How many hexadecimal strings of length twelve, have the sum of all digits equal to 30? Allowed digits are 2, 3,..., 9

In: Advanced Math

Which of the following is not a characteristic of a normal variable? Select one: a. It...

Which of the following is not a characteristic of a normal variable?

Select one:

a. It assumes a countable number of values.

b. The probability of each individual value is virtually 0.

c. The mean and the median are always the same.

d. It is a continuous random variable.

Donald has in his pocket three coins: two fair coins and a two-headed coin. He selects one of the coins at random; when he tosses it, it shows head. What is the probability that the selected coin is a two-headed coin?

Select one:

a. 0.25

b. 0.75

c. 0.333

d. 0.5

Suppose that the daily demand for regular gasoline at a gas station is normally distributed with a mean of 1,000 gallons and a standard deviation of 100 gallons. The next delivery of gasoline is scheduled later today at the close of business. What is the minimum amount of regular gasoline that the station must have in storage so that there is a 90% chance it will have enough to satisfy today’s demand?

Select one:

a. 836

b. 1,128

c. 1,165

d. 872

Suppose the differences in GPAs of all the students in one university in the two most recent semesters (the GPA in the current semester minus the GPA in the last semester) are normally distributed with a mean of 0.2 and a standard deviation of 0.18. What is the probability that a randomly picked student from this university is having a lower GPA in the current semester than what he/she received in the last semester?

Select one:

a. 0.5

b. 0.1335

c. 0.8665

d. 0

In: Statistics and Probability

The program will loop, asking the user for a bet amount from 0 to 50 (assume...

The program will loop, asking the user for a bet amount from 0 to 50 (assume dollars, you can use ints or longs). If the user types a 0 that means she wants to quit. Otherwise, accept the amount as their bet and simulate a slot machine pull. Your program will print out a line that looks like a slot machine result containing three strings. Some examples are:  BAR 7 BAR, 7 7 cherries, cherries BAR space, space BAR BAR, or cherries cherries BAR.

  • Each of the three positions in the string could be one of the following: "BAR", "7", "cherries" or "space".
  • Each of the three output positions must be generated by your program randomly with probabilities (defined, as always, by const statics)::
    • BAR   (38%)
    • cherries    (40%)
    • space           (7%)
    • 7                     (15%)
    • Therefore, cherries   should be the most frequent symbol seen and space or 7 the least frequent.
  • The following combinations should pay the bet as shown (note ORDER MATTERS):
    • cherries [not cherries] [any] pays 5 × bet (5 times the bet)
    • cherries cherries [not cherries] pays 15 × bet
    • cherries cherries cherries pays 30 × bet
    • BAR BAR BARpays 50 × bet
    • 7 7 7 pays 100 × bet
  • After the pull, display the three strings regardless of the outcome. If the user did not win, tell him/her "Sorry, you lose." If he won, pay him by displaying his winnings (his original bet times the winning factor from the above table). Then, repeat the whole process by requesting another bet amount.

Position counts! If you read the above bullet that contains the warning "ORDER MATTERS", you will see that cherries bar cherries pays 5× while cherries cherries bar pays 15× and bar cherries cherries pays nothing.

A Helper Class: TripleString

For this assignment we use our previous class TripleString. We will instantiate TripleString objects that can be used in our main() method and/or the global-scope methods that main() invokes to simulate this casino project.

The Global-Scope Client Methods

Each global-scope method that you have to write to simulate this casino app plays a special role. For example, there will be one method that gets the bet from the user and returns it to main():

   int getBet()

Another method will simulate a random pull of the slot machine -- it generates three random strings and returns them as a TripleString object to main():

   TripleString pull()

An output method will be used at the end of each loop-pass when the user needs to see the results of her pull, and receive the news about how much she won (or not):

   void display (TripleString thePull, int winnings )

Al description of each method -- and a few others -- is provided in the next section.

The Program Specification

The Global Scope Method Specs

int getBet()

This prompts the user for input and returns the bet amount as a functional return. It should vet the amount before it returns and insist on a legal bet (0 < bet < 50) until it gets one from the user. This method loops. If any other method is used to test for an illegal value or output an error message based on an illegal value, there will be a 4 point penalty.  getBet() must return the legal value to the client and not take any other action besides getting the legal amount.

getBet() has to not only acquire the bet from the user, but also do the output that asks for the bet.

This method must not end the program, but return the valid input result, 0, to the client if/when the user provides it. The client, main() will do what it must when it sees a return value of 0 from this method.

TripleString pull()

This method instantiates and returns a TripleString object to the client.   The data of the TripleString object has to be filled with three randomly chosen strings according to the probabilities described in the "Understand the Application" section above. For example, it might return a TripleString object that contains the three strings ["cherries", "BAR" , "space"].

string randString()

This helper method does a little work -- yet is still quite short. It produces and returns a single random string based on the required probabilities. It does this by calling the C++  rand() function and using the return result of that function as a means of deciding which of the four possible strings to return. Take this in stages.  rand() returns an int between 0 and RAND_MAX. One idea (but not the only one) is to turn that into an int between 1 and 1000 using techniques from five weeks ago. Then, decide which of those numbers should trigger a "7", which should trigger a "cherries", etc. based on the desired probabilities. Since a "Bar" should happen 38% the time, which numbers would you want to trigger a "Bar"? Since a "cherries" should happen 40% of the time, which numbers would trigger a "cherries"? So you see, this is a very simple -- and even short -- function, even though it has to be designed carefully. Common sense will go a long way here.

int getPayMultiplier (TripleString thePull)

After main() gets a TripleString object from pull() (which I will call thePull), it needs to know what the payout will be. That's the job of this function, getPayMultiplier(), which takes the TripleString result from pull() (thePull) as a parameter, and inspects it to determine what its pay multiplier should be: 5? 15? 100? 0?  

void display (TripleString thePull, int winnings )

This method takes the winnings (a dollar amount) and thePull as parameters and displays the three strings inside thePull along with " sorry - you lost " or "congrats, you won $X."

Where it All Goes

There are now a variety of program elements, so let's review the order in which things appear in your solution files:

  1. includes and namespace
  2. class prototype(s)
  3. global-scope method prototype(s)
  4. main() definition
  5. global-scope method definition( )
  6. class method definition(s)

main()'s Workflow

You can debug each of the above methods individually using a test main() that consists of a statement or two. That way you will make sure each component works before trying to write the final main() client.

main() will be a loop controlled by value returned from getBet(). As long as that value is non-zero, we keep playing.

Each time through the loop, we have to call pull() to get the thePull as a return value. Then we need to pass that to getPayMultiplier() to find the multiplier. We then compute the winnings based on the previous information, and finally we display it all using display(). That's all that each loop pass does. So main() is quite neat and clean.

Input Errors

The only place the user can make an input error is in getBet(), so that is the method that deals with such errors. Do not worry about non-numbers. Assume that an integer was entered. But do test for range and only return to main after you have a number in the valid range. getBet() may not decide about ending the program. That is up to main().

Test Run Requirements:

Submit one run that lasts a minimum of 10 pulls, but possibly more .   At least once enter an illegal amount to make sure that your program handles it correctly. Hopefully you are luck and will have one run that contains both a win of cherries cherries cherries  and a win of  BAR BAR BAR  This may take many runs, but may occur if it is your lucky day!

General Requirements

Communicate all values as parameters or return values, not through globals. The meaning of these terms and examples are contained in the module reading.

Again, getBet() must not only acquire the bet from the user, but also do the output that asks for the bet.

Also, I will emphasize that in keeping with the separation of I/O and computation, we would not have any method other than display() output results to the screen, and display() is called from main(), not from any other method. Similarly, getBet() is the only method that does input. The other methods do no input, no output and do not call any methods that do input or output. Let's keep that idea fresh.

What to Turn In

Hand in 3 files: No zip files.

  • casino.h : interface file
  • casino.cpp : implementation file
  • a4.cpp : application file

In: Computer Science

Pettit Printing Company has a total market value of $100 million, consisting of 1 million shares...

Pettit Printing Company has a total market value of $100 million, consisting of 1 million shares selling for $50 per share and $50 million of 10% perpetual bonds now selling at par. The company's EBIT is $12.94 million, and its tax rate is 25%. Pettit can change its capital structure by either increasing its debt to 60% (based on market values) or decreasing it to 40%. If it decides to increase its use of leverage, it must call its old bonds and issue new ones with a 11% coupon. If it decides to decrease its leverage, it will call its old bonds and replace them with new 8% coupon bonds. The company will sell or repurchase stock at the new equilibrium price to complete the capital structure change.

The firm pays out all earnings as dividends; hence, its stock is a zero growth stock. Its current cost of equity, rs, is 14%. If it increases leverage, rs will be 16%. If it decreases leverage, rs will be 13%.

Present situation (50% debt):
What is the firm's WACC? Round your answer to three decimal places.
     %
What is the total corporate value? Enter your answer in millions. For example, an answer of $1.2 million should be entered as 1.2, not 1,200,000. Round your answer to three decimal places.
$  million

60% debt:
What is the firm's WACC? Round your answer to two decimal places.
     %
What is the total corporate value? Enter your answer in millions. For example, an answer of $1.2 million should be entered as 1.2, not 1,200,000. Round your answer to three decimal places.
$  million

40% debt:
What is the firm's WACC? Round your answer to two decimal places.
     %
What is the total corporate value? Enter your answer in millions. For example, an answer of $1.2 million should be entered as 1.2, not 1,200,000. Round your answer to three decimal places.
$ million

In: Finance

Capital Structure Analysis Pettit Printing Company has a total market value of $100 million, consisting of...

Capital Structure Analysis

Pettit Printing Company has a total market value of $100 million, consisting of 1 million shares selling for $50 per share and $50 million of 10% perpetual bonds now selling at par. The company's EBIT is $12.03 million, and its tax rate is 15%. Pettit can change its capital structure by either increasing its debt to 60% (based on market values) or decreasing it to 40%. If it decides to increase its use of leverage, it must call its old bonds and issue new ones with a 11% coupon. If it decides to decrease its leverage, it will call its old bonds and replace them with new 8% coupon bonds. The company will sell or repurchase stock at the new equilibrium price to complete the capital structure change.

The firm pays out all earnings as dividends; hence, its stock is a zero growth stock. Its current cost of equity, rs, is 14%. If it increases leverage, rs will be 16%. If it decreases leverage, rs will be 13%.

Present situation (50% debt):
What is the firm's WACC? Round your answer to three decimal places.
     %
What is the total corporate value? Enter your answer in millions. For example, an answer of $1.2 million should be entered as 1.2, not 1,200,000. Round your answer to three decimal places.
$ million

60% debt:
What is the firm's WACC? Round your answer to two decimal places.
     %
What is the total corporate value? Enter your answer in millions. For example, an answer of $1.2 million should be entered as 1.2, not 1,200,000. Round your answer to three decimal places.
$ million

40% debt:
What is the firm's WACC? Round your answer to two decimal places.
     %
What is the total corporate value? Enter your answer in millions. For example, an answer of $1.2 million should be entered as 1.2, not 1,200,000. Round your answer to three decimal places.
$ million

In: Finance

Using the capital expenditures above, calculate the missing depreciation numbers for all 3 years. All equipment...

Using the capital expenditures above, calculate the missing depreciation numbers for all 3 years.

All equipment will be depreciated using the straight-line method. Everything in the table is purchased on January 1 of the first year (2019)

In addition, on June 30 of the 3rd year, the two iMac computers are sold for a total of $500 and two new better computers are purchased for $4,000 total.

Capital Improvements
Expenditure Cost Useful Life (Years)
Leasehold Improvements $15,000 15
Telephone System $2,000 7
Two iMacs with Software $5,500 5
Epson All in One Printer $150 7
Aficio MPC7500 $37,800 5
Folding and Binding Machines $400 5
Desks $5,000 7
Copier $3,000 7

In: Accounting

Benson Pharmaceuticals uses a process-costing system to compute the unit costs of the over-the-counter cold remedies...

Benson Pharmaceuticals uses a process-costing system to compute the unit costs of the over-the-counter cold remedies that it produces. It has three departments: Picking, Encapsulating, and Bottling. In Picking, the ingredients for the cold capsules are measured, sifted, and blended. The mix is transferred out in litre containers. The encapsulating department takes the powdered mix and places it in capsules. One litre of powdered mix converts into 1,500 capsules. After the capsules are filled and polished, they are transferred to Bottling, where they are placed in bottles that are then affixed with a safety seal, lid, and label. Each bottle receives 50 capsules. During March, the following results are available for the first two departments: Picking Encapsulating Beginning inventories: Physical units 10 litres 4,000 Costs: Materials $252 $32 Labour $282 $20 Overhead ? ? Transferred in - $140 Current production: Transferred out 140 litres 208,000 Ending inventory 20 litres 6,000 Costs: Materials $3,636 $1,573 Transferred in Labour $4,618 $1,944 Overhead ? ? Percentage of completion: Beginning inventory 40% 50% Ending inventory 50% 40% Overhead in both departments is applied as a percentage of direct labour costs. In the picking department, overhead is 200 percent of direct labour. In the encapsulating department, the overhead rate is 150 percent of direct labour. Required:

1. Prepare a production report for the picking department using the weighted average method. Follow the five steps outlined in the chapter. Round to two decimal places for the unit cost.

2 Prepare a production report for the encapsulating department using the weighed average method Follow the five steps outlined in the chapter. Round to four decimal places for the unit cost.

3 Explain why the weighted average method is easier to use than FIFO Explain when weighted average will give about the same results as FIFO.

In: Accounting

We are going to assume that you are feeding 100 pigs from 15 to 260 lbs...

We are going to assume that you are feeding 100 pigs from 15 to 260 lbs of weight. Phase feeding utilizes a series of rations that meet the specific needs of swine based on the size of the pigs. Usually, there are 3 to 7 phases for finishing pigs, but for this exercise, we are only going to use 3. 15 pts

Ration 1 - Starter- pig weight from 15 to 40 lbs consumes 50 lbs of an 18% crude protein ration costing $0.10 per pound of feed.

a. How many pounds of Ration 1 will you need per pig?

b. How many pounds of Ration 1 will you need to feed 100 pigs?

c. If ration 1 costs $.10 per pound of feed, what will it cost per pig?

d. What is the total cost of ration 1 for 100 pigs?   

Ration 2 - Grower- pig weight from 40 to 125 lbs consumes 240 lbs of an 15% crude protein ration costing $0.08 per pound of feed.

a. How many pounds of Ration 2 will you need per pig?

b. How many pounds of Ration 2 will you need to feed 100 pigs?

c. If ration 2 costs $.08 per pound of feed, what will it cost per pig?

d. What is the total cost of ration 2 for 100 pigs?

Ration 3 - Finisher- pig weight from 125 to 265 lbs consumes 480 lbs of a 12% crude protein ration costing $0.06 per pound of feed.

a. How many pounds of Ration 3 will you need per pig?

b. How many pounds of Ration 3 will you need to feed 100 pigs?

c. If ration 3 costs $.06 per pound of feed, what will it cost per pig?

d. What is the total cost of ration 3 for 100 pigs?   

What is the total cost of all the feed per pig?

You have sold your pigs $130 per head. What is your profit above feed costs?

What other costs would you need to consider?

**** If you can show your work for at LEAST a part of the problem, that will be soooo helpful!!! I am lost on how to even begin these problems

In: Accounting