Questions
Write a python program to evaluate polynomials in general and test it on the following polynomial:...

Write a python program to evaluate polynomials in general and test it on the following polynomial: ? 4 − 3? 3 − 39? 2 + 47? + 90 = 0

a) Develop and test a function named polyCalc() that evaluates a polynomial at a given value of the variable. The function receives two arguments: a list of the polynomial coefficients, and the value of the variable. It returns the result of the evaluation as a float. Use your function to evaluate the polynomial at ? = -5.4, -5.2, -1.2, -1.0, 2.0, 2.2, 7.2 and 7.4. What do you conclude about the solutions to the equation above?

b) Write a second function named polySolve() that seeks a solution of the polynomial between two values of the variable where the function has changed sign. This function should receive the list of coefficients, the two values of the variable between which there is a solution. It should return the value of the variable at which a solution was found. This function may be based on an exhaustive search, a bisection search, or on Newton-Raphson’s method. Select a method with some justification.

In: Computer Science

Homework #6 which of the following values cannot be probabilities of events. select all that apply....

Homework #6

which of the following values cannot be probabilities of events.

select all that apply.

15, 0.94, -0.59, 1.58, 53, 0.0, -27, 1.0

#3.
In a group of people, some are in favor of a tax increase on rich people to reduce the federal deficit and others are against it. (Assume that there is no other outcome such as "no opinion" and "do not know.") There persons are selected at random from this group and their opinions in favor or against raising such taxes are noted. How many total outcomes are possible?

#4. Show outcomes and classify events are simple and compound.

An automated teller machine at a local bank is stocked with $10 and $20 bills. when a customer withdraws $40 from the machine, it dispenses either two $20 bills or four $10 bills

Let T= the ATM dispenses two $20 bills.
Let F= the ATM dispenses four $10 bills.
Two customers withdraw $40 each

Part 1.

How many outcomes are there?

#5. A hat contains 33 marbles. Of them, 18 are red and 15 are green. If one marble is randomly selected out of this hat, what is the probability that this marble is green?

Round your answer to two decimal places.

P(A)=

#6. A regular, six-sided die is rolled once .

Round your answers to four decimal places.

(a) What is the probability that a number less than 4 is obtained?

P( a number less than 4 is obtained)=

(b) what is the probability that a number 3 to 6 is obtained?

P( a number 3 to 6 is obtained)=

#7. A random sample of 1498 adults showed that 812 of them have shopped at least once on the internet. What is the (approximate) probability that a randomly selected adult has shopped on the internet.

Round your answer to three decimal places.

#8 Out of the 3572 families who live in an apartment complex in New York City, 623 paid no income tax last year. What is the probability that a randomly selected family from these 3572 families paid income tax last year?

Round your answer to three decimal places.

#9. A television game show has a game called the shell game. The game has six shells, and one of those six shells has a ball under it. The contestant chooses one shell. If this shell contains the ball, the contestant wins. If a contestant chooses one shell randomly, what is the probability of each of the following outcomes.

(a) contestant wins?

Round your answer to two decimal places.

P( the contestant wins)=

(b) contestant loses

Round your answer to two decimal places.

P( the contestant loses)

Do these two probabilities add up to 1.0?

#10. In a large city, 15,000 workers lost their job last year. Of them, 7900 lost their jobs because their companies closed down or moved, 4200 lost their jobs due to insufficient work, and the remainder lost their jobs because their position were abolished.

(a) If one of these 15,000 workers is selected at random, find the probability that this worker lost his or her job because the company closed down or moved.

The Probability is=

(b) If one of these 15,000 workers is selected at random, find the probability that this worker lost his or her job due to insufficient work.

The probability is=

(c) If one of these workers is selected at random, find the probability that this worker lost his or her job because the position was abolished.

The Probability is=

Do these probabilities add up to 1.0?


In: Statistics and Probability

1a Demonstrate how the spectral emissive power inside a blackbody cavity changes with respect to the...

1a

Demonstrate how the spectral emissive power inside a blackbody cavity changes with respect to the
following parameters:
a) Temperature and wavelength, hence, find E?(?, T), by:
(i) Creating a table with the (?, T) values as follows:
1. Wavelengths, ?, from 0.1 ?m to 100 ?m, on the first (left-most) column. Use increments
of:
? 0.1 ?m from 0.1 ?m to 1.0 ?m;
? 0.5 ?m from 1.0 ?m to 10 ?m;
? 1.0 ?m from 10 ?m to 100 ?m;
2. Temperatures, T, values of: 273.15 K; 773.15 K; 1273.15 K; 1773.15 K; 2273.15 K; 5000
K; and, 10000 K.
3. Calculate E?(?, T) using units of W/m2·?m and assume the constants C1 = 374210000
and C2 = 14388.
Set up your table with each separate column corresponding to each given value of T.
Ensure that you clearly label each column in your table and include the relevant units.
[Hint: There should be seven separate columns in your table for the E?(?, T) calculations
and eight columns in your table altogether with the inclusion of the left-most column
consisting of the ? values.
The recommendation is that you fill in each separate column in your table using a
different background colour in order to facilitate the examination of the different T
calculations and to assist in identifying the corresponding plots.]
4. Clearly demarcate the visible region in your table. You may do this by selecting a
different coloured font for the values of ? (and the corresponding E? values) that fall
within this region.
(ii) Plot the calculated values of E?(?, T) ensuring that you set out each plot as follows:
1. Display the calculated E?(?, T) values on the vertical axis.
2. Display the wavelengths on the horizontal axis. Select the logarithmic scale, to base 10,
to display your values on this axis.
3. Clearly demarcate the visible region in each plot.
4. Include a title in each plot, clearly identifying the relevant value of T and ensure that you
label both axes (including units).
[Hint: The recommendation is that you fill in the background of each plot in the same
colour as the corresponding column in your table in order to facilitate the analyses of
the different T calculations.]

Planck's Law may be encountered in a number of different forms depending on the conventions and
preferences of different scientific fields

b) Set up a table in an Excel Worksheet providing the following information:
(i) Variables:
1. Frequency
2. Wavelength
3. Wavenumber
4. Angular Frequency
5. Angular Wavelength
6. Angular Wavenumber
(ii) Symbols for the Variables
(iii) The formula for Planck's Law expressed in terms of each different spectral variable.
(iv) Whether the formula is most often encountered in experimental fields or theoretical fields.
c) Calculate the following:
(i) An electromagnetic wave has a wavelength of 550 nm.
1. What is the frequency of radiation of this wave?
2. Can humans perceive this wave? If so, how do we perceive it? If not, what form of
radiation is this wave in relation to the electromagnetic spectrum?
(ii) During a night out on the town we see many different lighted signs at the late-night diners.
One particular sign catches our attention, if the radiation from the excited atoms which
produce the light in this sign have a wavelength of 680 nm, what is the energy of each
photon that is being emitted by this sign?
(iii) Given that the energy of the photons being emitted from a particular metal is 6.54×10–19J,
what is the frequency and wavelength of this radiation?

In: Physics

At the beginning of 1976 a relative migrated to Australia with $10,000 ‘spare cash’. The money...

At the beginning of 1976 a relative migrated to Australia with $10,000 ‘spare cash’. The money could have been used to buy a block of land or invested in an ‘at-call’ savings account that paid interest at 8% p.a. compounded half-yearly. At the end of 2018, the land was valued by a local real estate agent who was keen to list the property on behalf of his agency, at a price of approximately $400,000.

Required:

  1. a) Which of the alternative investments had the higher value at the end of 2018? Justify your response with appropriate calculations.

(Students should write no more than 50 words for this part of the question).

b) i) Assuming the half-yearly compounding of interest, what was the rate of growth in the land value over the total period expressed as a nominal annual interest rate?

ii) What was the rate of growth in the land value over the total period expressed as an effective interest rate?

iii) What was the rate of growth in the ‘at-call’ savings account over the total period expressed as an effective interest rate?

  1. c) What investment in the savings account would have been necessary at the beginning of 1976, to have the same value as the land was worth at the end of 2018? Briefly explain your response.

(Students should write no more than 50 words for this part of the question).

d) Recognising both your finance skills and ‘common sense’, one of your friends has asked whether your calculations above allow you to determine which of the investments would have been ‘better’ to make at the beginning of 1976, given the outcomes discussed above at the end of 2018. Provide a well-reasoned, complete response to this question taking into consideration various financial and non-financial issues.

(Students should write no more than 100 words for this part of the question).

  1. d) i) You have now been provided further information that the investment in the land required the owner to make continuous annual payments of council rates over the total period held. These amounts are determined in accordance with Table 1 below. Assuming the land was sold at the end of 2018 (but ignoring the expected sale value), what is the adjusted present value at the beginning of 1976 of all the cash outflows relating to the acquisition and continued ownership of the land?

Note: For the purposes of this question assume the following:

1. Rates are payable on the anniversary of each year of land ownership.

2. The annual amount of the rates are determined in accordance with the following formula;

Initial Purchase Cost ($) x Factor (times) x Relevant Percentage (%)

3. Rates are still payable for the 2018 year (for the full year).

Anniversary number of years land held

Factor (times)

Relevant Percentage (%)

1 to 5 years

1.0

1.5

6 to 10 years

1.5

1.5

11 to 15 years

3.0

1.0

16 to 20 years

6.0

1.0

21 to 25 years

10.0

0.8

26 to 30 years

20.0

0.8

31 to 35 years

25.0

0.6

36 to 40 years

30.0

0.6

41 to 45 years

40.0

0.4

Table 1

ii) Taking into consideration the calculations from part e) i) of this question, what is the rate of growth in the land value over the total period expressed as an effective interest rate?

(Students should write no more than 50 words for this part of the question).

In: Finance

2.Majer Corporation makes a product with the following standard costs: Standard Quantity or Hours 6.7...

1.

Majer Corporation makes a product with the following standard costs: 


Standard Quantity or HoursStandard Price or RateStandard Cost Per Unit
Direct materials6.7 ounces$3.00 per ounce$20.10
Direct labor0.7 hours$18.00 per hour$12.60
Variable overhead0.7 hours$3.00 per hour$2.10
The company reported the following results concerning this product in February

Originally budgeted output5,700 units
Actual output5,300 units
Raw materials used in production30,800 ounces
Actual direct labor-hours7,960 hours
Purchases of raw materials33,200 ounces
Actual price of raw materials$92.90 per ounce
Actual direct labor rate$102.40 per hour
Actual variable overhead rate$4.80 per hour

The company applies variable overhead on the basis of direct labor-hours. The direct materials purchases variance is computed when the materials are purchased. 

The materials quantity variance for February is:


2.

Doogan Corporation makes a product with the following standard costs: 


Standard Quantity or HoursStandard Price or Rate

Direct materials9.2 grams$3.80 per gram

Direct labor0.3 hours$38.00 per hour

Variable overhead0.3 hours$8.80 per hour


The company produced 7,000 units in January using 41,110 grams of direct material and 2,560 direct labor-hours. During the month, the company purchased 46,200 grams of the direct material at $3.50 per gram. The actual direct labor rate was $37.30 per hour and the actual variable overhead rate was $8.60 per hour. 

The company applies variable overhead on the basis of direct labor-hours. The direct materials purchases variance is computed when the materials are purchased. 

The variable overhead rate variance for January is:


3.

Doogan Corporation makes a product with the following standard costs: 







Standard Quantity or  HoursStandard Price or Rate

Direct materials2.0 grams$7.00 per gram

Direct labor0.9 hours$17.00 per hour

Variable overhead0.9 hours$3.00 per hour

The company produced 4,500 units in January using 10,150 grams of direct material and 2,130 direct labor-hours. During the month, the company purchased 10,720 grams of the direct material at $ 7.35 per gram. The actual direct labor rate was $ 17.90 per hour and the actual variable overhead rate was $ 2.80 per hour.


The company applies variable overhead on the basis of direct labor-hours. The direct materials purchases variance is computed when the materials are purchased.

The materials quantity variance for January is:





In: Accounting

Basic Metabolic Panel (BMP): Current High/Low/WNL? Prior Sodium (135–145 mEq/L) 134 136 Potassium (3.5–5.0 mEq/L) 3.8...

Basic Metabolic Panel (BMP):

Current

High/Low/WNL?

Prior

Sodium (135–145 mEq/L)

134

136

Potassium (3.5–5.0 mEq/L)

3.8

3.9

Glucose (70–110 mg/dL)

148

98

BUN (7–25 mg/dl)

20

22

Creatinine (0.6–1.2 mg/dL)

0.9

1.1

  1. What BMP results are RELEVANT and must be recognized as clinically significant by the nurse?

RELEVANT Lab(s):

Clinical Significance:

TREND: Improve/Worsening/Stable:

  1. What is the primary problem that your patient is most likely presenting with?

  1. What is the underlying cause/pathophysiology of this primary problem?

Provider Orders:

  1. Please Review the orders written by the provider and give a rationale for each order as well as the expected patient outcome for the order.

Care Provider Orders:

Rationale:

Expected Outcome:

Hydromorphone PCA– Settings:
*Bolus: 0.1–0.3 mg every 10 minutes *Continuous: 0.1–0.3 mg *Max every 4 hours: 6 mg

Continuous pulse oximetry

Ondansetron 4 mg IV push every 4 hours prn nausea

Titrate O2 to keep sat >90%

Incentive spirometer (IS) 5–10x every hour while awake

0.9% NS 100 mL/hour IV

Clear liquids/advance diet as tolerated

Apply lumbar orthotic brace when up in chair or ambulating

  1. Which orders would you implement first and why?

Care Provider Orders:

Order of Priority:

Rationale:

1.Hydromorphone PCA 2.Continuous pulse oximetry 3.Ondansetron (Zofran) 4 mg IV push every 4 hours prn nausea 4.Titrate O2 to keep sat >90%
5.Incentive spirometer (IS) 6.Apply lumbar orthotic brace when up in chair or ambulating
7.Clear liquids/advance diet as tolerated

Nursing Care

  1. What three nursing diagnoses will guide your plan of care? (list in order of PRIORITY)

  1. What interventions will you initiate based on your nursing diagnoses?  Please provide a sound evidence-based rationale with citation and expected outcome for each nursing intervention. (This must be completed for all three).

Nursing Diagnosis

Nursing Interventions

Rationale

Expected Outcome

  1. . What body system(s) will you most thoroughly assess based on the primary/priority concern?
  1. What is the worst possible/most likely complication to anticipate?
  1. What nursing assessments will identify this complication EARLY if it develops?
  1. What nursing interventions will you initiate if this complication develops?
  1. What psychosocial needs will this patient and/or family likely have that will need to be addressed?
  1. How can the nurse address these psychosocial needs?

In: Nursing

DataSpan, Inc., automated its plant at the start of the current year and installed a flexible...

DataSpan, Inc., automated its plant at the start of the current year and installed a flexible manufacturing system. The company is also evaluating its suppliers and moving toward Lean Production. Many adjustment problems have been encountered, including problems relating to performance measurement. After much study, the company has decided to use the performance measures below, and it has gathered data relating to these measures for the first four months of operations.

Month

1 2 3 4
Throughput time (days) ? ? ? ?
Delivery cycle time (days) ? ? ? ?
Manufacturing cycle efficiency (MCE) ? ? ? ?
Percentage of on-time deliveries 80% 81% 86% 93%
Total sales (units) 10,450 10,450 10,420 10,480

Management has asked for your help in computing throughput time, delivery cycle time, and MCE. The following average times have been logged over the last four months:

Average per Month (in days)

1 2 3 4
Move time per unit 0.3 0.6 0.6 0.4
Process time per unit 0.6 0.3 0.4 0.4
Wait time per order before start of production 9.3 8.0 6.0 4.0
Queue time per unit 3.2 3.4 2.6 1.8
Inspection time per unit 0.7 0.8 0.6 0.8

Required:

1-a. Compute the throughput time for each month. (Round your answers to 1 decimal place.)

1-b. Compute the manufacturing cycle efficiency (MCE) for each month. (Round your answers to 1 decimal place.)

1-c. Compute the delivery cycle time for each month. (Round your answers to 1 decimal place.)

3-a. Refer to the move time, process time, and so forth, given for month 4. Assume that in month 5 the move time, process time, and so forth, are the same as in month 4, except that through the use of Lean Production the company is able to completely eliminate the queue time during production. Compute the new throughput time and MCE. (Round your answers to 1 decimal place.)


3-b. Refer to the move time, process time, and so forth, given for month 4. Assume in month 6 that the move time, process time, and so forth, are again the same as in month 4, except that the company is able to completely eliminate both the queue time during production and the inspection time. Compute the new throughput time and MCE. (Round your answers to 1 decimal place.)

In: Accounting

Miller Toy Company manufactures a plastic swimming pool at its Westwood Plant. The plant has been...

Miller Toy Company manufactures a plastic swimming pool at its Westwood Plant. The plant has been experiencing problems as shown by its June contribution format income statement below:

Budgeted Actual
Sales (6,000 pools) $ 273,000 $ 273,000
Variable expenses:
Variable cost of goods sold* 83,460 102,050
Variable selling expenses 24,000 24,000
Total variable expenses 107,460 126,050
Contribution margin 165,540 146,950
Fixed expenses:
Manufacturing overhead 65,000 65,000
Selling and administrative 90,000 90,000
Total fixed expenses 155,000 155,000
Net operating income $ 10,540 $ (8,050)

*Contains direct materials, direct labor, and variable manufacturing overhead.

Janet Dunn, who has just been appointed general manager of the Westwood Plant, has been given instructions to “get things under control.” Upon reviewing the plant’s income statement, Ms. Dunn has concluded that the major problem lies in the variable cost of goods sold. She has been provided with the following standard cost per swimming pool:

Standard Quantity or Hours Standard Price
or Rate
Standard Cost
Direct materials 4.0 pounds $ 2.60 per pound $ 10.40
Direct labor 0.3 hours $ 8.10 per hour 2.43
Variable manufacturing overhead 0.3 hours* $ 3.60 per hour 1.08
Total standard cost $ 13.91

*Based on machine-hours.

During June the plant produced 6,000 pools and incurred the following costs:

a. Purchased 29,000 pounds of materials at a cost of $3.05 per pound.

b. Used 23,800 pounds of materials in production. (Finished goods and work in process inventories are insignificant and can be ignored.)

c. Worked 2,400 direct labor-hours at a cost of $7.80 per hour.

d. Incurred variable manufacturing overhead cost totaling $8,400 for the month. A total of 2,100 machine-hours was recorded.

It is the company’s policy to close all variances to cost of goods sold on a monthly basis.

1. Compute the following variances for June:

a. Materials price and quantity variances. (Indicate the effect of each variance by selecting "F" for favorable, "U" for unfavorable, and "None" for no effect (i.e., zero variance).)

b. Labor rate and efficiency variances. (Indicate the effect of each variance by selecting "F" for favorable, "U" for unfavorable, and "None" for no effect (i.e., zero variance).)

c. Variable overhead rate and efficiency variances. (Do not round your intermediate calculations. Indicate the effect of each variance by selecting "F" for favorable, "U" for unfavorable, and "None" for no effect (i.e., zero variance).)

In: Accounting

Cash Dividends and Income Taxes 1. Prepare journal entries for the transactions. If an amount box...

Cash Dividends and Income Taxes

1. Prepare journal entries for the transactions.

If an amount box does not require an entry, leave it blank.

During the year ended December 31, 20-2, Bebeto Company completed the following selected transactions:

Apr. 15 Estimated that its 20-2 income tax will be $27,680. Based on this estimate, it will make four quarterly payments of $6,920 each on April 15, June 15, September 15, and December 15. Made the first payment.
25 Declared a semiannual dividend of $0.3 per share on common stock to shareholders of record on May 10, payable May 20. Currently, 81,500 shares of $1 par common stock are outstanding.
May 20 Paid the cash dividends.
June 15 Made estimated tax payment of $6,920.
Sept. 15 Made estimated tax payment of $6,920.
Oct. 25 Declared semiannual dividend of $0.3 per share on common stock to shareholders of record on November 10, payable on November 20.
Nov. 20 Paid the cash dividends.
Dec. 15

Made estimated tax payment of $6,920

1. Prepare journal entries for the transactions.

If an amount box does not require an entry, leave it blank.

Page: 1
DATE ACCOUNT TITLE DOC.
NO.
POST.
REF.
DEBIT CREDIT
1 Apr. 15 Income Tax Expense 1
2 Cash 2
3 3
4 Apr. 25 Cash Dividends 4
5 Common Dividends Payable 5
6 6
7 May 20 Common Dividends Payable 7
8 Cash 8
9 9
10 Jun. 15 Income Tax Expense 10
11 Cash 11
12 12
13 Sep. 15 Income Tax Expense 13
14 Cash 14
15 15
16 Oct. 25 Cash Dividends 16
17 Common Dividends Payable 17
18 18
19 Nov. 20 Common Dividends Payable 19
20 Cash 20
21 21
22 Dec. 15 Income Tax Expense 22
23 Cash 23
24 24
25 Dec. 31 Income Tax Expense 25
26 Income Tax Payable 26
27 27
28 Dec. 31 Income Summary 28
29 Retained Earnings 29
30 30
31 Dec. 31 Retained Earnings 31
32 Cash Dividends 32
33 33

.

In: Accounting

Modern Furniture Ltd competes in the modern furniture retail market alongside Adair’s, Harvey Norman and other...

Modern Furniture Ltd competes in the modern furniture retail market alongside Adair’s, Harvey Norman and other major furniture retailers. The market is highly competitive prompting management to review working capital practices. Detailed below are relevant figures and ratios to assist you in evaluating Modern Furniture’s working capital management.

Working Capital Ratios                  2014                       2015                       2016                       2017

Accounts Receivable Days            30.0 days             38.6 days             44.0 days             51.0 days

Inventory Days                                  30.0 days             34.5 days             37.0 days             46.0 days            

Accounts Payable Days                  29.6 days             30.2 days             38.2 days             53.0 days

Note: Ratios are based on assuming end year figures are the average throughout the majority of the year

Extracts from Financial Statements

Cash on hand                                     0.35mill                                 0.3mill                   .01mill                   .005mill

Sales – all on credit                          15 mill                   14 mill                   15mill                    16mill

Accounts Receivable Balance      1.2 mill                  1.5 mill                  1.8 mill                  2.2 mill

Inventory                                            0.66 mill               0.79 mill               0.9 mill                  1.17mill

Cost of Goods Sold                          8.0 mill                  8.5 mill                  8.9 mill                  9.3 mill

Accounts Payable                             0.65mill                                 0.7 mill                  0.95 mill               1.35 mill

Budgeted Figures                           

Cash on hand                                     0.3 mill                  0.3 mill                  0.31 mill               0.32 mill

Accounts Receivable Balance      1.2 mill                  1.22 mill               1.28 mill               1.35 mill

Inventory Balance                            0.7 mill                  0.72 mill               0.78 mill               0.80 mill

Accounts Payable                             0.64 mill               0.65 mill               .70 mill                  0.71 mill

Accounts Receivable Terms         30 days                30 days                30 days                30 days

Accounts Payable Terms               45 days                 45 days                 45 days                 45 days

Industry Averages

Accounts Receivable Days            30.1 days             29.6 days             30.4 days             33.1 days

Inventory Days                                  30 days                 31 days                 33 days                 32.2 days

Accounts Payable Days                  30 days                 28.5days              17 days                 15 days

Review Modern Furniture’s working capital management performance utilizing the above information / benchmark figures / industry averages and budgets (250 words).

Once you have analyzed their performance, provide some strategies and recommendations to assist in improving any weaknesses in working capital management referring to the management of components of working capital including cash, inventory, accounts receivable and accounts payable. As part of your recommendations identify the associated potential benefits and costs of each recommendation? (250 word limit)

In: Accounting