(5) Take the data from the NumPy array and sort it by state, show and
viewers, putting each into the appropriate lists you defined earlier.
(so now you have 3 lists, one with states, one with shows and one
with viewer counts.) No duplicates in the states and shows.
Duplicates can and should exist in the viewers. So the states list will
look like this: ['Washington', 'Nevada', 'Idaho',
'California', 'Oregon']

Answers

Answer 1

The Python Code required is given below:


import numpy as np

import pandas as pd

# Step 1

# Move the show_results.txt file from Canvas into your project directory

# Step 2

# Create 3 lists, one for states, one for shows, and one for viewers.

states = []

shows = []

viewers = []

# Step 3

# Injest data from text file and put it into a NumPy array

data = np.genfromtxt('show_results.txt', delimiter=',', dtype=str)

# Step 4

# Print the raw data

print(data)

# Step 5

# Take the data from the NumPy array and sort it by state, show and viewers,

# putting each into the appropriate lists you defined earlier.

for row in data:

   state, show, viewer = row

   if state not in states:

       states.append(state)

   if show not in shows:

       shows.append(show)

   viewers.append(viewer)

# Step 6

# Print these unsorted lists

print(states)

print(shows)

print(viewers)

# Step 7

# Convert all 3 lists into NumPy arrays

states_arr = np.array(states)

shows_arr = np.array(shows)

viewers_arr = np.array(viewers)

# Step 8

# print new NumPy Arrays

print(states_arr)

print(shows_arr)

print(viewers_arr)

# Step 9

# Sort the States and Shows arrays

states_arr.sort()

shows_arr.sort()

# Step 10

# Convert the Viewers array from STRINGS into INTS

viewers_arr = viewers_arr.astype(int)

# Step 11

# Sum up viewers list into one variable (you can do this in one line)

total_viewers = viewers_arr.sum()

# Step 12

# Print: Sorted arrays (states and shows), viewers list (as ints),

# and the variable that is the sum of the viewers list.

print(states_arr)

print(shows_arr)

print(viewers_arr)

print(total_viewers)

# Step 13

# Create 2 DataFrames

# (a) show_raw_stats: index = numpy sorted array of SHOWS;

# columns = numpy sorted array of STATES

# (b) show_agg_stats: index = same as above; columns = a list with

# the words Max, Min, Totals and Percent in it

show_raw_stats = pd.DataFrame(index=np.sort(shows_arr), columns=np.sort(states_arr))

show_agg_stats = pd.DataFrame(index=np.sort(shows_arr), columns=['Max', 'Min', 'Totals', 'Percent'])

# Step 14

# Populate show_raw_stats with data from the Original Array

for row in data:

   state, show, viewer = row

   viewer = int(viewer)

   show_raw_stats.ix[show, state] = viewer

# Step 15

# Populate the Max, Min, Totals, and Percent in show_agg_stats

show_agg_stats['Max'] = show_raw_stats.max(axis=1)

show_agg_stats['Min'] = show_raw_stats.min(axis=1)

show_agg_stats['Totals'] = show_raw_stats.sum(axis=1)

show_agg_stats['Percent'] = show_agg_stats['Totals'] / total_viewers * 100

# Step 16

# Print both dataframe

print(show_raw_stats)

print(show_agg_stats)

# Step 17

# Print the answer to these questions:

# (a) Which Show has the highest percentage?

# (b) Which Show has the lowest percentage?

# (c) Which show is your favorite?

# (a)

highest_percentage_show = show_agg_stats['Percent'].

How does the above Phyton Code work?

The code defines a Python function named gcd that calculates the greatest common divisor (GCD) of two integers using the Euclidean algorithm.

The function takes two parameters, a and b, representing the two integers for which the GCD is to be calculated. It returns the GCD as an integer. The function first checks if one or both of the inputs is zero, in which case it returns the other input.

Otherwise, it iteratively calculates the remainder of a divided by b and assigns b to a and the remainder to b, until b becomes zero, at which point the GCD is equal to a.

Learn more about Python Code on:

https://brainly.com/question/30427047

#SPJ1

Full Question:

Although part of your question is missing, you might be referring to this full question: See the attached.


Related Questions

9. Which of the following is an assignable cause of variation?
A. A spider got into the glue.
B. The operator's hand slipped once.
C. A train going by shook the machine.
D. The machine needs a new screw assembly.​

Answers

D. The machine needs a new screw assembly.

Assuming that the quantities of solid wastes generated daily at a commercial facility are distributed normally, with a mean value of 10 yd3 and a standard deviation of 7 yd3, what size container would you recommend for this facility? What are the important tradeoffs in the selection of container size?

Answers

Answer:

The distributions of solid wastes produced daily at a commercial facility are normally distributed with a mean of 10 yd3 and a standard deviation of 7 yd3. If you were to make a container size recommendation for this facility, what size would you propose? What important tradeoffs should be considered when selecting the size of the container?

It's quite perplexing to determine the perfect size of container for a facility whose waste quantity varies and is subject to changes frequently. A certain degree of burstiness is present in the distribution of solid waste generated on a daily basis in a commercial facility. However, using the available mean and standard deviation values, we can infer that a container size of 24 yd3 should be sufficient to hold the daily waste generated, considering that it's two standard deviations above the mean.

When selecting a container size, various tradeoffs must be considered. A large container is more efficient, as it would not require to be emptied as frequently, but it might be expensive and may take up more space. A smaller container may be less expensive and take up less space, but it would need to be emptied more frequently, which can result in higher transportation costs and more time spent on waste management. It is therefore essential to strike a balance between the frequency of emptying and the container size to ensure that the waste is managed effectively and efficiently.

To determine the appropriate container size, we need to consider the mean value and the standard deviation of the daily solid wastes generated at the commercial facility. Since the data is normally distributed, we can use the following formula to calculate the container size:

Container size = mean + z-score * standard deviation

To determine the appropriate z-score, we need to refer to a standard normal distribution table. Assuming a 95% confidence interval, the z-score would be 1.96. Therefore, the container size would be:

Container size = 10 + 1.96 * 7
Container size = 23.32 yd3

Based on this calculation, we would recommend a container size of 24 yd3 to ensure that it can accommodate the average daily waste generated at the facility.

When selecting a container size, there are several important tradeoffs to consider. A larger container size may be more expensive to purchase and maintain, but it can help reduce the frequency of waste removal and transportation, which can save costs in the long run. On the other hand, a smaller container size may be more affordable, but it may require more frequent waste removal, which can increase transportation costs and result in more greenhouse gas emissions. Additionally, the facility's available storage space and access to waste removal services should also be considered when selecting an appropriate container size.

Cho biết tác dụng chung của các hệ giằng khung ngang nhà công nghiệp nhẹ 1 tầng 1 nhịp.

Answers

I don’t know how to speak the laungue or know this language

Chad owned an office building that was destroyed in a tornado. The adjusted basis of the building at the time was $890,000. After the deductible, Chad received an insurance check for $950,000. He used $900,000 of the insurance proceeds to purchase a new building that same year. How much is Chad's recognized gain, and what is his basis in the new building?

Answers

The correct answer is $900,000.

The excess of insurance recovery over the cost of the new building,

that is 950000-900000 = $50000 would be recognized gain.

The basis of the new building would be the basis of the old building

plus the gain not recognized = 890000+(900000-890000) = $900,000.

What is insurance?

Insurance is a means of protection against financial loss in which a party, in exchange for a fee, undertakes to indemnify another party in the event of certain loss, damage or injury. IIIt is a form of risk management that is primarily used to hedge against the risk of contingent or uncertain loss.

To know more about insurance, click the link given below:

https://brainly.com/question/27822778

#SPJ4

almost 90% of all metallic fractures are in some degree attributed to group of answer choices fatigue corrosion creep plastic deformation

Answers

The cause of roughly 90% of all metallic fractures is fatigue. This is a result of the repetitive usage of cyclic loading or stress, which can result in the formation and growth of microscopic cracks over time, ultimately leading to collapse.

In applications where the material is subject to cyclic loading or stress, fatigue is a frequent failure mode in metallic materials. This can include, among other things, equipment, cars, and aircraft. When cyclic loading is applied repeatedly over time, small cracks may eventually start to develop and spread, leading to material failure. The kind of material, its microstructure, the intensity and frequency of the loading, and the environment in which the material is utilized can all have an impact on fatigue. Metallic cracks can also be caused by other elements like corrosion, creep, and plastic deformation, however fatigue is usually the main culprit.

learn more about fractures here:

https://brainly.com/question/30158115

#SPJ4

which of the following conditions are necessary to ensure data integrity? select all that apply.
O completeness
O Statistical Power
O Privacy
O Accuracy

Answers

The conditions necessary to ensure data integrity are completeness and accuracy.

Ensuring completeness means that all required data is present and accounted for, while accuracy means that the data is correct and free from errors. Statistical power and privacy are important considerations in data analysis, but they do not directly relate to data integrity.

Completeness: Data must be complete, meaning that all relevant data points are included in the dataset. Incomplete data can lead to inaccurate conclusions and analysis.

Accuracy: Data must be accurate, meaning that it reflects the true value or characteristic being measured. Inaccurate data can lead to incorrect conclusions and decisions.

Privacy: Data must be kept private and secure, meaning that only authorized individuals have access to it. This is important to protect the confidentiality of sensitive data.

Statistical Power: This condition is not necessary for data integrity. Statistical power refers to the ability of a statistical test to detect a significant effect if one exists. While statistical power is important for statistical analysis, it is not a necessary condition for data integrity, which focuses on the accuracy and completeness of the data itself.

Learn more about Data Integrity at:

https://brainly.com/question/30480956

#SPJ11

the continuous waste is limited to up to three compartments, sinks, or lavatories, but only if they are within ___" center to center of each other.

Answers

The continuous waste is limited to up to three compartments, sinks, or lavatories, but only if they are within 30 inches center to center of each other. Continuous waste is a plumbing term used to describe a specific type of pipe.

The name comes from the fact that this type of pipe carries away water continuously. A continuous waste pipe can be found under sinks, lavatories, or compartments. It is a straight pipe with a diameter of 1.5 inches, and it usually leads directly to the building's drainage system. If there is more than one sink or compartment in the same area, there is a specific rule that needs to be followed.

The rule states that the continuous waste is limited to up to three compartments, sinks, or lavatories, but only if they are within 30 inches center to center of each other. If there are more than three, then a secondary continuous waste line must be installed. The secondary line is connected to the first one, but it must be connected at an angle.

This ensures that the water flows continuously without getting trapped in any one area.The reason for this rule is to prevent clogs and backups in the plumbing system. When there are too many fixtures connected to a single waste line, the water flow can slow down, and the risk of clogs and backups increases. By limiting the number of fixtures connected to a single continuous waste line, the plumbing system can function more efficiently and with less risk of problems.

The continuous waste is limited to up to three compartments, sinks, or lavatories, but only if they are within 30 inches center to center of each other. If there are more than three, a secondary continuous waste line must be installed. This rule is designed to prevent clogs and backups in the plumbing system. By following this rule, the plumbing system can function more efficiently, and the risk of problems can be minimized.

To know more about plumbing  :

brainly.com/question/1871368

#SPJ11

Consider the following PROLOG program. male (henry). male (tom). married (tom). bachelor (P) :- male (P), not (married (P)). What would it be the incorrect result of the following query? (A) ?- bachelor(henry). true (B) ?- bachelor(tom). false (C) ?- bachelor(Who). Who = henry; Who = joe; false (D) ?- married (X). X=tom OOO O O (A) (B) Ụ

Answers

Incorrect result: (C) ?- bachelor(Who). Who = henry; Who = joe; false. The Option C.

Why does the query bachelor(Who) produce an incorrect result?

The query bachelor(Who) is expected to find all individuals who are male and not married, providing their names as solutions. However, the incorrect result is obtained in this case.

The correct part of the result, Who = henry, is consistent with the knowledge base, as Henry is declared as a male and is not married. However, the incorrect part of the result, Who = joe, is unexpected. There is no mention of Joe in the knowledge base, so the query should not yield him as a solution.

Read more about PROLOG program

brainly.com/question/29802853

#SPJ4

when a is used with a smooth bore nozzle, turbulence can affect the quality of the solid stream if the valve is left partially open.

Answers

Answer:

ball valve

Explanation:

Question One a) Given a four-cylinder cycle engine with a 90-mm bore, 100-mm stroke, and a (6 marks) clearance volume of 0.106 L, calculate the total engine displacement, the compression ratio, Is this engine a petrol engine or diesel engine and explain why? i. ii. iii. h) Explain briefly the principle of​

Answers



a) The total engine displacement of the four-cylinder cycle engine is calculated by multiplying the bore, stroke, and clearance volume together. In this case, it would be 90 mm x 100 mm x 0.106 L, which equals 9.54 L. The compression ratio is calculated by dividing the clearance volume by the total engine displacement. In this case, it would be 0.106 L/9.54 L, which equals 1.11.

It is not possible to determine whether this engine is a petrol engine or a diesel engine without more information. Petrol and diesel engines differ in the way they ignite the fuel-air mixture, with petrol engines using spark plugs and diesel engines using compression. The compression ratio can be an indicator of whether an engine is a petrol or diesel, as diesel engines typically have higher compression ratios than petrol engines. However, this engine has a compression ratio of 1.11, which does not provide enough information to determine the type of engine.

h) The principle of four-stroke cycle engines is that the piston moves up and down four times in the cylinder during a single cycle. The four strokes are the intake stroke, compression stroke, power stroke, and exhaust stroke. During the intake stroke, the intake valve opens to allow air and fuel to enter the cylinder. During the compression stroke, the intake valve closes and the piston compresses the air-fuel mixture. During the power stroke, the spark plug ignites the air-fuel mixture, causing the piston to move down and generating power. During the exhaust stroke, the exhaust valve opens and the piston pushes the exhaust gases out of the cylinder.

What are some of the most complex building types to design?.

Answers

Strangely enough, the most complex building to design is the common house. I know, they’re like belly buttons, even if you don’t have one yourself, you know someone that has one, and you’ve certainly been in one.

A house has all the ingredients that you will find in far more complex buildings. On top of that, they are there in small quantities.

Nearly every house has a kitchen, bathroom, laundry and toilet. You will also find some of these in hospitals, hotels, parking stations, office blocks, sewerage works, defence facilities and so on.

The only difference is that in a house, there may only be one of these and it must be the right size, shape and position so that it is suitable for use. Even the doorways must be positioned correctly - to allow for ventilation, light, privacy , ease of access, safety and even feng-shui.

Each room must be the right size for its’ occupants and its’ usage. Bedrooms should have a window or some other method of providing natural light. Toilets and bathrooms should allow for privacy.

The materials that it is built of should be fit for purpose. The roof should provide shelter from the elements. The walls should be able to support the weight of the roof and provide shelter and security for the occupants. The floor should be stable and strong and able to support the activities that are carried out in the house.

On top of all that, it must look good - to somebody. It also must be comfortable to live in, otherwise the design is a fail. That doesn’t mean that it shouldn’t be cheap to build. A good designer designs with one eye on the asthetics, the other eye on the usage and utility and his hand firmly closed around the cheque-book.

This trade has brought much destruction to my people. We have suffered from losing much of our population, but we have also suffered from the introduction of ____ which have changed our society drastically, making our kingdoms and empires more violent and less secure and politically stable.

Answers

Based on the given statement, it is likely that the missing word is "colonization."

It is likely that the statement refers to the impact of colonization on indigenous societies. Colonization often involved the forced assimilation of indigenous peoples into European culture, including the introduction of new technologies and systems of governance. These changes often led to the displacement of indigenous populations and the disruption of their traditional ways of life. Additionally, the introduction of new weapons and warfare tactics led to increased violence and political instability. The effects of colonization are still felt today, as many indigenous populations continue to struggle with the lasting impacts of these historical injustices.

This trade has brought much destruction to my people. We have suffered from losing much of our population, but we have also suffered from the introduction of colonization which have changed our society drastically, making our kingdoms and empires more violent and less secure and politically stable.

To know more about colonization, visit:

brainly.com/question/30900919

#SPJ11

Why is the reasoning important when you make a scientific argument?

Answers

Answers and credibility of how you got there without reasoning

Determine (with justification) whether the following systems are (i) memoryless, (ii) causal, (iii) invertible, (iv) stable, and (v) time invariant. For invertibility, either find an inverse system or an example of two inputs that lead to the same output. Note that y[n] denotes the system output and x[n] denotes the system input.

a. y[n] = x[n] x[n-1] + [n+1]
b. y[n] = cos(x[n])

Answers

Answer:

a.

y[n] = x[n] x[n-1]  x[n+1]

(i) Memory-less - It is not memory-less because the given system is depend on past or future values.

(ii) Causal - It is non-casual because the present value of output depend on the future value of input.

(iii) Invertible - It is invertible and the inverse of the given system is \(\frac{1}{x[n] . x[n-1] x[n+1]}\)

(iv) Stable - It is stable because for all the bounded input, output is bounded.

(v) Time invariant - It is not time invariant because the system is multiplying with a time varying function.

b.

y[n] = cos(x[n])

(i) Memory-less - It is memory-less because the given system is not depend on past or future values.

(ii) Causal - It is casual because the present value of output does not depend on the future value of input.

(iii) Invertible - It is not invertible because two or more than two input values can generate same output values .

For example - for x[n] = 0 , y[n] = cos(0) = 1

                       for x[n] = 2\(\pi\) , y[n] = cos(2\(\pi\)) = 1

(iv) Stable - It is stable because for all the bounded input, output is bounded.

(v) Time invariant - It is time invariant because the system is not multiplying with a time varying function.

The A/C compressor will not engage when the A/C is turned on. The static refrigerant pressure is 75 psi and the outside temperature is 72 degrees F. Technician A says that a poor connection at the pressure cycling switch could be the cause. Technician B says that a faulty A/C clutch coil could be the cause. Who is correct

Answers

In the case above,  poor connection at the pressure cycling switch  and also a faulty A/C clutch coil could be the cause.

What is likely the reason when an A/C compressor will not engage if A/C is turned on?

The cause that hinders the A/C Compressor from engaging are:

Due to low pressure lockout.Due to a poor groundDue to bad clutch coil.Dur to an opening in the wire that links to the clutch coil.Due to a blown fuse.

Note that the pressure switches is known to be one that control the on/off function of any kind of AC compressor and as such, if there is switch failure, it can hinder the AC compressor from functioning at all.

Therefore, technician A and B are correct.

Learn more about refrigerant pressure from

https://brainly.com/question/10054719

#SPJ1

dentify the recommended practices when putting a tip on a micropipette. Select one or more: Gently push the micropipette into the tip and tap lightly to load the tip. Hold the micropipette at a 45 degree angle to the tip rack. Use the tip size designed for the micropipette size in use. Remove the tip from the rack and place it on micropipette by hand.

Answers

Answer:

Gently push the micropipette into the tip box and tag tightly to load the tip.

Explanation:

The recommended practice when putting a tip on a micropipette is ;  Gently push the micropipette into the tip box and tag tightly to load the tip.

Given that it is not advisable to remove tip from rack so as not to contaminate it, if we want to put a tip on a micropipette we should gently push the micropipette into the tip box.

Explain the answer of you choose?

Explain the answer of you choose?

Answers

Note that dosage of coagulants is based on viscosity of water. (Option D)

What is the explanation for the above response?

The dosage of coagulants that is administered must always be based on  various factors. Some of them are:

The type of coagulantThe concentration of coagulantthe level of organic matter and the tubidity of water etc.

Note that temperature may also affect the dosage because if the water is cold or the lower the temperature, the higher the dosage required.

Thus, it is correct to state that that dosage of coagulants is based on viscosity of water. (Option D)

Learn more about coagulants at:

https://brainly.com/question/12077625

#SPJ1

Unionized workers often earn more money than non-unionized workers.
O False
O True

Answers

I think it might be false correct me if I’m wrong

Answer:

Its true

Explanation:

false is wrong because I chose it and got it wrong lol

For an MRP system to work efficiently, some of the inputs an MRP depends on include demand, bill of materials (BOM), inventory management, and master production schedule (MPS). How could you determine a material requirement plan at McDonald's to ensure uninterrupted service delivery?

Answers

To determine a material requirement plan (MRP) at McDonald's and ensure uninterrupted service delivery, various factors need to be considered, including demand forecasting, bill of materials (BOM), inventory management, and the master production schedule (MPS).

What steps can be taken to establish an effective material requirement plan (MRP) at McDonald's and ensure continuous service delivery?

1. Demand Forecasting: Analyze historical sales data, customer trends, and market insights to accurately forecast demand for various menu items.

2. Bill of Materials (BOM): Create a comprehensive BOM that lists all the ingredients and components required for each menu item, including quantities and specifications.

3. Inventory Management: Implement efficient inventory management practices, including real-time tracking, stock replenishment, and minimizing waste through accurate forecasting.

4. Master Production Schedule (MPS): Develop a detailed MPS that aligns production activities with demand, taking into account factors like lead times, production capacities, and delivery schedules.

5. Integration and Communication: Ensure seamless communication and coordination between different departments, suppliers, and franchise locations to maintain adequate inventory levels and timely procurement.

By effectively managing these inputs, McDonald's can optimize its material requirements and ensure uninterrupted service delivery, minimizing the risk of stockouts or excessive inventory.

Learn more about: requirement plan

brainly.com/question/29431904

#SPJ11

A man having a weight of 176 lb attempts to hold himself using one of the two methods shown. Determine the total force he must exert on bar AB in each case and the normal reaction he exerts on the platform at C. The platform has a weight of 31 lb. (Figure 1) Determine the total force the man must exert on bar AB using the first method. Express your answer to three significant figures and include the appropriate units Determine the normal reaction the man exerts on the platform at C using the first method. Express your answer to three significant figures and include the appropriate units. Determine the total force the man must exert on bar AB using the second method. Express your answer to three significant figures and include the appropriate units.

Answers

Answer:

фыпафвп

аывфпи фуав иыавипваыиаири

и

и

фуваи

вая

и

авп

рикавп

паывш9иавпотиазштыавамви

атв

аи

ываи

ам

а

ри

12

45

365

464

3

ифавм

consider both cost and quality: of the following frequencies, the most appropriate sampling rate for this signal would be:

Answers

To determine the most appropriate sampling rate for a signal, both cost and quality factors need to be considered. However, without specific information about the signal or its requirements, it is challenging to provide a definitive answer. The appropriate sampling rate depends on the characteristics of the signal, such as its bandwidth, the highest frequency component of interest, and the desired level of fidelity.

In general, to accurately capture a signal, the sampling rate should be at least twice the highest frequency component present in the signal according to the Nyquist-Shannon sampling theorem. This ensures that the signal can be adequately reconstructed without aliasing.

Considering cost, higher sampling rates require more resources, such as storage space and processing power. Therefore, balancing the quality requirements of the signal with the associated cost is crucial.

To determine the most appropriate sampling rate, it is necessary to evaluate the specific characteristics and requirements of the signal in question, including its bandwidth and fidelity needs, while considering the available resources and cost constraints.

learn more about "signal":- https://brainly.com/question/7744384

#SPJ11

A flagpole casts a shadow 27 feet long. At the same time of day a person standing nearby casts a shadow 8 feet long. If the person is 6 feet tall, how tall is the flagpole?.

Answers

A 27-foot-long shadow is cast by a flagpole. At the same time of day, a nearby resident's shadow, which is 8 feet long, is cast. If the individual is six feet tall, the flagpole is  \(x=\frac{81}{4}\).

Depending on the height and placement, you will need the local council's planning approval before installing a permanent flagpole. Continue reading to find out more about how much it will cost and the guidelines you need to adhere to in order to build a flagpole without breaking any laws or ordinances. The human flag is one of the hardest bodyweight exercises in the callisthenics repertoire because it calls for significant full-body strength while using one arm to pull and the other to push against a vertical pole to maintain a horizontal position for the body. Prior to his passing in 1974 due to the flagpole collapsing under him, Richard Dixie Blandy held records.

Based on the given condition, write: \(x=\frac{27.8}{8}\)

Reduce fraction to the lowest by cancelling

The greatest common factor: \(x=\frac{27*3}{4}\)

Calculate the product or quotient: \(x=\frac{81}{4}\)

Learn more about flagpole here

https://brainly.com/question/14931940

#SPJ4

a simply supported beam has a length of 1.2 m. the cross section has a width of 140 mm and height of 240 mm. the weight density of the beam is 5.4 kn/m3 . calculate the maximum permissible value of the load p if (a) the allowable bending stress is 8.5 mpa, and (b) the allowable shear stress is 0.8 mpa.

Answers

The results of the calculations are (a) P = 37.97 kN and (b) P = 35.62 kN.

The surface won't be cut if you press the flat section of the knife against the fruit. The force is dispersed over a wide area.

Using the parameters and figure provided in the problem, we have:

A = b*h = 0.14*0.24 = 0.0336 m^2

S = (b*h^2)/6 = (0.14*0.24*0.24)/6 = 0.001344 m^3

q = 5400*0.0336 = 181.44 N/m

(a) The load P at 8.5 MPa = 8.5*106 Pa (allowable bending stress)

σ = M/S

M = *S thus equals 0.001344*8.5*106 = 11424 Nm.

Aside from that

M = (P*L/4) + (q*L^2)/8

11424 = (P*1.2/4) + (181.44*1.2^2)/8

11424 = 0.3*P + 32.6592

P = (11424-32.6592)/0.3 = 37.97 kN

(b) If (allowable shear stress) = 0.8 MPa, then the value of P is equal to 0.8*106 Pa.

(2*A*τ/3) = P/2 + q*L/2

(2*0.0336*0.8*10^6)/3 = P/2 + 181.44*1.2/2

17920 = P/2 + 108.864

P = (17920 - 108.864) * 2 = 35.62 kN.

Learn more about stress here-

https://brainly.com/question/13261407

#SPJ4

what are the principal benefits of developing a comprehensive project scope analysis?

Answers

Answer:

What are the principal benefits of developing a comprehensive project scope analysis?

The principal benefits of developing a comprehensive project scope analysis include better understanding of project objectives , clarifying the tasks that need to be completed, assigning tasks to team members, and estimating the time, labor, and money necessary for successful completion of the project. Additionally, a project scope analysis helps to set groundwork , goals, and objectives, and allows a company to guide the dream of a project to a successful completion . A comprehensive project scope analysis also ensures that all stakeholders have a clear understanding of the project and helps to prevent any misunderstandings or disagreements that can arise during the course of the project

Explanation:

increasing voltage above the piv rating . a.will increase forward current b.may destroy the diode c.may destroy the diode because of avalanche current d.will cause avalanche current

Answers

Increasing the voltage applied to a diode above its PIV rating can result in increased forward current, and may lead to the destruction of the diode due to an increase in avalanche current.

A. Increasing the voltage applied to a diode above its PIV rating will increase the forward current, or current flowing through the diode when it is conducting.
B. The diode may be destroyed because of the increase in current if the current exceeds the maximum ratings for the device.
C. The diode may be destroyed because of the increased current that can occur in the event of an avalanche breakdown. An avalanche breakdown occurs when the current is increased to a certain point and the reverse breakdown voltage of the diode is exceeded. This results in a large increase in the current through the diode, which can cause it to fail.
D. An increase in voltage above the PIV rating may cause an avalanche current. Avalanche current is a phenomenon that occurs in a diode when the reverse breakdown voltage is exceeded, leading to a large increase in current.
You can learn more about Voltage at: brainly.com/question/29445057

#SPJ11

most operating systems have a gui as part of their system. which of the following best describes an operating system's gui?

Answers

A user-friendly interface that lets users interact with the system through icons and other visual elements.

Which is the best GUI?

PyQt5, developed by Riverbank Computing, is one of the most widely used Python graphical user interface frameworks. The Qt framework, a cross-platform framework for developing applications for a variety of platforms, is the foundation of the PyQt package.

Which of the four characteristics of a graphical user interface (GUI) can you name?

Windows, Icons, Menus, and a Pointer are the four main components that make up a GUI's four features. They are also the Interface's Main Components, or the WIMP system. MS-DOS. MS-DOS is not an operating system with a GUI.

To know more about visual elements visit :-

https://brainly.com/question/12835892

#SPJ4

A supersonic aircraft cruises at M=2. 2 at 12 km altitude. A pitot tube is used to sense pressure for calculating airspeed. A normal shock stands in front of the tube. (Hint: at 12 km altitude; pressure and temperature of surrounding air is 19. 4kPa&−56. 45



C ) a) Evaluate the local isentropic stagnation conditions in front of the shock. B) Estimate the stagnation pressure sensed by the pitot tube

Answers

The local isentropic stagnation conditions in front of the shock and estimate the stagnation pressure sensed by the pitot tube.

a) To evaluate the local isentropic stagnation conditions in front of the shock, we can use the isentropic relations for a perfect gas. The isentropic relations relate the properties of a gas across a shock wave. Given the altitude of 12 km and the provided pressure and temperature of the surrounding air (19.4 kPa and -56.45 °C), we can calculate the local isentropic stagnation conditions.

First, we need to convert the temperature from Celsius to Kelvin:

T = -56.45 °C + 273.15 = 216.7 K

Using the ideal gas equation, we can calculate the density of the surrounding air:

ρ = P / (R * T)

Where P is the pressure, R is the specific gas constant, and T is the temperature.

For air, the specific gas constant R is approximately 287 J/(kg·K).

ρ = 19.4 kPa / (287 J/(kg·K) * 216.7 K)

After performing the calculation, we obtain the density of the surrounding air.

Now, using the isentropic relations, we can determine the isentropic stagnation conditions ahead of the shock. These conditions can be obtained by relating the Mach number (M) and the local conditions (P, ρ, T) to the isentropic stagnation conditions (P0, ρ0, T0).

The specific heat ratio (gamma) for air is approximately 1.4.

M0 = M * √(γ * R * T0 / (2 * γ * R * T))

Where M0 is the isentropic Mach number and T0 is the isentropic stagnation temperature.

Using this equation, we can solve for T0 and calculate the isentropic stagnation temperature.

Similarly, we can calculate the isentropic stagnation pressure (P0) using the relation:

P0 = P * (1 + ((γ - 1) / 2) * M^2)^(γ / (γ - 1))

By substituting the known values, including the calculated density (ρ), pressure (P), and temperature (T), we can obtain the isentropic stagnation pressure sensed by the pitot tube.

b) To estimate the stagnation pressure sensed by the pitot tube, we can consider that the pitot tube measures the stagnation pressure, which is the total pressure (P0) ahead of the shock. Therefore, the calculated isentropic stagnation pressure (P0) from part a) represents the stagnation pressure sensed by the pitot tube.

By following these calculations, we can evaluate the local isentropic stagnation conditions in front of the shock and estimate the stagnation pressure sensed by the pitot tube.

Learn more about pressure here

https://brainly.com/question/30117672

#SPJ11

Why is it nearly impossible to obtain satisfactory performance from a shunt motor connected to an ac power source

Answers

Answer:

Because the shunt winding consist of a large number of turns,

Explanation:

It is nearly impossible to obtain satisfactory performance from a shunt motor connected to an ac power source because the shunt winding consist of a large number of turns, due to the high number of turns that the DC shunt motor has it develops a high impedance when connected to an ac power source. and due  to this high impedance the amount of current that flows through the field will be very low making it nearly impossible for the shunt motor to operate properly

determine the depth of flow in a 12-inch diameter concrete pipe with a channel slope of 0.0085 carrying 0.2 ft3 /s of water.

Answers

Answer:

it is not water

What four basic rules for measuring with a dial indicator

Answers

Answer:

1. Always zero the indicator before taking a measurement.

2. Apply consistent pressure to probe when taking measurements.

3. Keep the indicator perpendicular to the surface being measured.

4. Take multiple readings and average them to ensure accuracy.

Other Questions
Only the first and second choices are correct.Polysaccharides always:Please choose the correct answer from the following choices, and then select the submit answer button.are a string of three or more sugar molecules.are polymers.contain lipids.All of the above are correct.Only the first and second choices are correct. True or False - Temperatures in the desert did not fluctuate (change) much from day to night Firms raise capital from retained earnings only when they cannot issue new common stock due to market conditions outside of their control.In general, firms are reluctant to issue new common stock to raise additional financial capital due to the magnitude of the flotation costs and the negative signals sent to the marketplace.The flotation costs associated with the sale of debt securities are greater than those associated with new common stock issues.White Lion Homebuilders has a current stock price of $25 per share, and is expected to pay a per-share dividend of $3.40 at the end of next year. The companys earnings and dividends growth rate are expected to grow at a constant rate of 3.80% into the foreseeable future.If Alpha Moose expects to incur flotation costs of 3.60% of the value of its newly-raised equity funds, then the flotation-adjusted (net) cost of its new common stock (rounded to two decimal places) should be15.22%, 17.91%, 14.33%, or 18.81% . Let V and W be vector spaces and T: v w be linear. (a) Prove that T is one-to-one if and only if T carries linearly inde- pendent subsets of V onto linearly independent subsets of W. (b) Suppose that T is one-to-one and that S is a subset of V. Prove that S is linearly independent if and only if T(S) is linearly inde- pendent. Suppose and onto. Prove that T(3) = {T(m), T(v2), for W (c) (vi, v2 , . . . , Un} is a basis for V and T is one-to-one ,T(vn)} is a basis One of the most extreme democratic reforms in the Progressive Era was the popular election of U.S. _______________, which was established by a constitutional amendment ratified in 1913.Senators The Solubility Product Constant for chromium(III) hydroxide is = 6.7x10^31 If chromium(III) hydroxide is dissolved in water you can say that the equilibrium concentrations of chromium(III) and hydroxide ions are: A. High B. Moderate C. Low The solubility of chromium(III) hydroxide in water is: A. High B. Moderate C. Low In the context of the managerial (leadership) grid for leadership effectiveness, which of the following managers has low concern for both production and people?Multiple ChoiceThe sweatshop managerThe impoverished managerThe status quo managerThe country club manager Looking at the Low Tech Market Segment's "Market Share Actual vs. Potential" chart, what is a priority for company Andrews in the next round for product Able to maximize sales volumes? (Refer to the Round 2 Foundation FastTrack Report available both on Blackboard and in Appendix 1 of "An Introduction to Business.") which statement is not correct? c) through obtaining certifications and demonstrating more extensive knowledge, one can show greater expertise and commitment. o all statements are correct. o goals should be specific, measurable, attainable, relevant, and time- bound. o gaining experiences related to a potential career is an invaluable way to learn which and to what degree activities are personally rewarding and enjoyable. Which of the following bonds would be the most polar without being considered ionic?a. F-Hb. Na-Fc. S-Hd. Cl-He. O-H 1.Fill in the code to complete the following method for checking whether a string is a palindrome.public static boolean isPalindrome(String s) {return isPalindrome(s, 0, s.length() - 1);}public static boolean isPalindrome(String s, int low, int high) {if (high Although messages may have a primary and a secondary audience, the writer needs to profile only the primary audience to determine the best presentation of the message. True or false The Northeast is often called the birthplace of our nation, and there are a few reasons why.In 1620, the Pilgrims came to Massachusetts and signed the Mayflower Compact. This was one of the first democratic documents in the US.In 1775, the Revolutionary War began in Boston, Massachusetts. In this war, the 13 original colonies fought for independence from Great Britain. A year later, the Declaration of Independence was officially adopted in Philadelphia, Pennsylvania, on July 4. In it, Thomas Jefferson argued for individual rights, including the rights of life, liberty and the pursuit of happiness.Massachusetts and Pennsylvania have which of the following in common?AThe Pilgrims signed important documents in both states.BBoth states were once part of the Northeast but are not any longer.CThomas Jefferson lived and worked in both states.DFounding documents of the US were signed in both states. Orthogonality is when features of a programming language are intertwined heavily with each other. Using a feature may lead to side-effects with other featuresTrue or False Suppose a company is choosing between two projects. The first project has an internal rate of return (IRR) of 9%, while the second project has an internal rate of return of 8%. The CEO believes that the first project will create additional shareholder value and should therefore be implemented. Do you agree with the CEO? Convert totalPennies to dimes, nickels, and pennies, finding the maximum number of dimes, then nickels, then pennies. Ex: If the input is 56, the output is: Dimes: 5 Nickels: 1 Pennies: 1 Note: A dime is 10 pennies. A nickel is 5 pennies. int totalPennies; int numDimes; int numNickels; int numPennies; cin >> totalPennies; numDimes totalPennies / ; numNickels = numDimes / 5; numPennies numNickels / 1; ANTGANGSING cout Which statement best illustrates the nurse's understanding of the role of nursing assistive personnel (NAP) in applying an estrogen patch?a. "I need to assess the skin on the patient's thighs."b. "Please apply lotion to the site from which the old patch was removed."c. Determine the patient's physical ability to grasp the patch. which best describes timbuktu? responses a.the ancient homeland of the people of ghana b.the ancient homeland of the people of ghana a center of islamic learning in africa c. a center of islamic learning in africa d.the city to which muslims make the hajj e.the city to which muslims make the hajj a farming village on the niger river in west africa The ______ is particularly well-suited to both foraging societies and industrial economies because it allows for greater mobility and flexibility in order to adapt to changing economic or subsistence opportunities Which protein attaches HIV-1 to the surface of a sensitive cell?