Questions
In all cases we have an array of int or char of some fixed size. The...

In all cases we have an array of int or char of some fixed size. The program will prompt the user to enter some values, such as:

Enter 7 integers to be stored in the array: 5 13 8 5 1 2   
The questions that could then be asked of this data might be:

  1. Count how many numbers are < the last element
  2. Count how many numbers are odd

Similarly we might prompt for character input:

Enter 7 characters to be stored in the array: azaleas
The questions that could then be asked of this data might be:

  1. Count how many letters occur more than once are equal to the last character
  2. Count how many letters are equal to some user input letter

Your code to do the task will need to be in a function.

In: Computer Science

For six of the following, identify the author and write five carefully chosen sentences on the...

For six of the following, identify the author and write five carefully chosen sentences on the meaning of the quotation.

7. “Then there is the ‘old lady effect.’ Consider the case of a two-parent, four-child family that has occupied a ten-room rental dwelling. One by one the children grow up, marry, and move elsewhere. The husband dies. Now the lady is left with a gigantic apartment.” --- Walter Block

In: Economics

Describe a confidence interval for the difference in means between two population by stating 1. a...

Describe a confidence interval for the difference in means between two population by stating 1. a pair of populations composed of the same type of individuals and a quantitative variable on those populations, 2. sizes and degrees of freedom of samples from those populations, 3. the means of those samples, and 4. the standard deviations of those samples. Then state 5. a confidence level and find 6. find the interval. Finally, perform a test of significance concerning the difference in the means of the populations by stating 7. both a null and an alternative hypothesis and 8. an α-level, then finding 9. the two-sample t-statistic and either 10. rejecting or failing to reject the null hypothesis. Remember that you do not need to list the values of the variable for individuals in either the sample or the population, and that the values for 2, 3, 4, 5, and 8 do not need to be calculated, only stated.

CAN IT PLEASE BE CLEAR AND LEGIBLE THANK YOU.

In: Statistics and Probability

GAME THEORY: Please show all work and explanation so i understand. Two firms, A and B,...

GAME THEORY: Please show all work and explanation so i understand.

Two firms, A and B, compete by each choosing a price. Demand for good Q is Q = 13 – P, where P denotes price. If one firm offers a lower price than the other firm, the firm with the lower price meets the entire demand at his price. If the two firms set the same price, then they equally split demand at that price. Consider prices P = 4, 8 & 10. Use revenues for the firms’ payoffs. There are no costs!

(a.) Draw the normal form game.

(b.) If firm B chooses PB = 8, what are the three possible payoffs he can earn?

(c.) If firm B chooses PB = 8, which price choice for A would give her the highest payoff?

In: Economics

The number of aces served by Novak Djokovic in the last 20 tournaments that he has...

The number of aces served by Novak Djokovic in the last 20 tournaments that he has participated in, is shown
below.
12 17 13 7 8 14 11 14 10 12
15 9 11 13 6 15 18 5 19 24

2.1. Using the raw data, determine the range. (2)
2.2. Group the data into a frequency distribution with a lowest class lower limit of 1 ace and a class width
of 5 aces. (7)
2.3. Determine the mean number of aces served, using the raw data. (3)
2.4. Draw a less than OGIVE curve corresponding to the data and use it to estimate the median. (8)

In: Statistics and Probability

Income Statement for the year ended December 31, 2020 (millions of $) Revenue (sales) $773 Cost...

Income Statement for the year ended December 31, 2020 (millions of $)

Revenue (sales)

$773

Cost of goods sold

595

Selling, general, and administrative expenses*

130

Loss on disposal of plant**

6

Interest expense

12

Income tax expense

10

    Net income

$ 20

*Includes depreciation expense of $30 million, insurance expense of $8 million, bad debt expense of $6 million, and salaries expense of $86 million.

** During 2020, the company purchased two pieces of equipment costing a total of $36 million. Summer Fun also incurred a loss of $6 million on the sale of a plant.

Balance Sheet at December 31 (millions of $)

2020

2019

Cash

$ 15

  

$    2

Accounts receivable, net

93

79

Inventory

132

120

Prepaid insurance

6

8

Property, plant, and equipment, gross

195

182

Accumulated depreciation

55

35

    Total assets

$386

$356

Accounts payable (inventory)

$ 40

$ 43

Interest payable

5

2

Deferred revenue

4

3

Short-term bank loans

20

35

Long-term debt

115

105

Common stock and additional paid-in capital

105

90

Retained earnings

97

78

    Total liabilities and equity

$386

$356

Question 1: 2020 cash flow from financing activities is a net cash inflow of:

Question 2: 2020 cash flow from operating activites is a net cash inflow of:

Question 3: If the company used the direct method of reporting cash flow from operating activities, the amount of "Cash paid for interest" in 2020 would be:

Question 4: Based on the information above, the company's 2020 cash flow from investing activities should inlclude a cash inflow from the sale of the plant totaling:

In: Accounting

Name: Fahad B                                  Word: Medical     

Name: Fahad B                                  Word: Medical                       Bed: ICU bed #9

Age: 57 years                                     Physician: Mona, Khaled (unit A)

Fahad is a fit and healthy consultant surgeon. He arrived by ambulance to the ER unconscious after having a seizure in his house after a long sentry duty in the same hospital.

His wife reported that he experienced incomprehensible symptoms in the last two months like continues headaches, strange feeling in his head, imperiled vision, difficulty to recall his patient and colleges names and general weakness specially in his hands. Fahad was known of his linguistic ability but these days he lost the right words.

Neurosurgeon did MRI and found a big malignant Grade I (brain tumor). They put him under surgery and sedate him after that in the ICU by using benzodiazepines, opioid narcotics and propofol for 5 days to help him recovery. In the ICU the medical team monitor him closely. The ICU dietitian decided to start enteral nutrition as soon as possible. So, a gastrointestinal tube was fixed immediately.

Diagnosis:                   Malignant Grade I

Medical plan:             Brain surgery to remove the tumor followed intubation and sedation for 5 days. Radiation therapy is planned to be after the assessment.

Medical history:         No medical history

Smoking:                    Heavy smoker 3 backet/day   

Medication:                None  

Family history:          Mother (Breast cancer and Diabetes)

Marital status:           Married with 2 kids

           

Physical examination:

Abdomen:      Normal                       

Chest/lungs: Clear   

Skin:               Soft, normal bowel sounds, no-tender           

Edema:           Brain edema around the skull

Stool:             No

Urine:             Normal

Edema:           -ve      

Vital signs:

BP:                  140/80

Pulse:              70

Temperature:                                                37.2 OC

Height:                                                182 cm

Usual weight:                                     82 kg

Last weight before surgery:             79kg

Current weight after surgery:         unknown

Biochemical lab test (after surgery):

Chemistry

Glucose

18

20

15

5.6 to 6.9 mmol/L

HbA1C (%)

5.2

<5.7

Creatinine

0.9

0.6-1.2 mg/dL

Urea

5.3

2.5 to 7.1 mmol/L

BUN

11

7-18 mg/dL

Potassium

4.3

3.5-5.3 mEq/L

Phosphate

2.38

2.5-4.5 mg/dL

Sodium

138

133-143 mEq/L

Chloride

100

98-108 mEq/L

Calcium

10.5

9-11 mg/dL

Albumin

4.7

3.5-5.8 g/dL

WBC

3.2

4.5-11 x109/L

Platelets

200

150,000-450,000

microliter

Neutrophils

6

3–7 x 109/L

RBC

5

4.8-9.3 x109/L

Hb

12

12-16 g/dL

Hct

40%

36-46%

Ferritin

21

20-120 (mg/mL)

MCV

88

80-100 fL

CRP

2

<3 mg/L

Fibrinogen

230

150-400 mg/dL

ESR

20

0-22 mm/hr

Cholesterol

170

<200 (mg/dL)

LDL

110

<130

HDL

55

>59

Triglycerides

110

35-135 (mg/dL)

24hours recall (usual menu before diagnosis with cancer):

Breakfast: 1 cup Americano + 1 protein bar

Snack: 1 orange juice
Lunch: 1 cup laban+ 1 cup rice + grilled meat or chicken of fish +Dagoos (tomato sauce) + green salad (olive oil + lemon dressing)

Snack: 300ml Arabic coffee + 5 Dates

Dinner: 1 cup low fat yogurt + protein chips

Questions: (100 points)

  1. What is the metabolic response to critical illness in human body? (10 point)

  1. Write a PES statement according to his nutrition statues. (9 point)

  1. Determine Mr. Fahad energy and protein requirements consider his stress and activity level. (Use BMR) (13 point)

  1. Mr.Fahad can’t consume food while he is intubated, if you have 4 options of nutritional formulas, which one you would use and why? (10 point)
    1. Nutrition dense like Jevity (energy 1.5 Kcal/ml- protein 15g/235ml)
    2. Standard like Ensure (energy 1 Kcal/ml – protein 9g/220ml)
    3. Immune enhancing like Impact (energy 1 Kcal/ml- protein 14 g/250ml)
    4. Diabetes formula like Glucerna (energy 1 Kcal/ml- 9.9g/237ml)

  1. How many cans (250ml) you will give Fahad in the nasogastric tube in 24h? (6 point)
  1. What is the flow rate you will set the electronic pump on, in the first 48hr after surgery? (6 points)

  1. Mr.fahad is intubated after surgery, what are the signs you have monitor to check his gastrointestinal tolerance. If you suspect a low tolerance how would you check it in the ICU? (10 points)

  1. Mr. Fahad is not diabatic, what is the reason for the high blood glucose level? (10 points)
  1. Radiation therapy is prescribed to Mr. Fahad, it known by its gastrointestinal side effects, list the effect and chose two side effect and write how to minimize it effect on him. (12 point)

  1. If Mr.Fahad faced problem in breathing after the surgery and he is connected to ventilator, and his maximum temperature was 38.3C and his ventilation recorded is 10L/min. calculate Mr.Fahad energy needs by using penne state equation. (6 point)

  1. In the recent year’s formula companies added omega-3 fatty acids, arginine, glutamine and antioxidants to the formula to promote healing after surgery. discuss what are the benefits? (8 point)

In: Nursing

Write a Python graphics program that draws the following shapes: • window size: 250 x 250...

Write a Python graphics program that draws the following shapes:

• window size: 250 x 250 pixels with window title with your name

• big circle, 50 pixels radius with center at (125, 125)

two green circles, 10 pixels radius; first one centered at (113, 113) and second centered at (137, 113)

one red line, from (100, 150) to (150, 150)

Then answer this, what do you see? (make this a comment in your code)

In: Computer Science

The AAA Aquarium Co. sells aquariums for $20 each. Fixed costs of production are $20. The...

The AAA Aquarium Co. sells aquariums for $20 each. Fixed costs of production are $20. The total variable costs are $20 for one aquarium, $25 for two units, $35 for the three units, $50 for four units, and $80 for five units. Create a table showing total revenue, marginal revenue, total cost, and marginal cost for each output level (one to five units). What is the minimum level of output for AAA to produce and not lose money? What is the profit-maximizing level of output?

In: Economics

Match the following scenarios to their sampling method. A random number generator selects a subject’s ID...

Match the following scenarios to their sampling method.

A random number generator selects a subject’s ID number

You wish to take a survey of people’s opinion of your company’s workplace culture. It is made up of 7 departments and you randomly select a department and use everyone in it.  

You select every 10th shopper that comes through the door to take a survey on your company’s products.

A survey of military personal randomly selects 1% of personnel from each branch for a sample.

You take a survey of people at work to estimate the political affiliation of the U.S. population.

match to stratified, systematic, simple random, convenience and clustered

In: Statistics and Probability